Interface PlainFileHandler
- All Superinterfaces:
PlainStreams
- All Known Implementing Classes:
ParquetPlainFileHandler,PBPlainFileHandler
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionappendDataStateData(Instant timestamp, PartitionGranularity partitionGranularity, String rootFolder, String desc, PVNameToKeyMapping pv2key) booleanbackUpFiles(boolean backupFilesBeforeETL) createEventFileWriter(String pvName, Path path, ArchDBRTypes type, short year) voiddataDeleteTempFiles(BasicContext context, String pvName, String randSuffix, String rootFolder, PVNameToKeyMapping pv2key) voiddataMovePaths(BasicContext context, String pvName, String randSuffix, String suffix, String rootFolder, PVNameToKeyMapping pv2key) static voiddeleteTempFiles(BasicContext context, String pvName, String randSuffix, String rootFolder, PathResolver pathResolver, PVNameToKeyMapping pv2key) default StringgetPathKey(Path path) default PathResolvervoidinitCompression(Map<String, String> queryStrings) voidmarkForDeletion(Path path) static voidmovePaths(BasicContext context, String pvName, String randSuffix, String suffix, String rootFolder, PathResolver pathResolver, PVNameToKeyMapping pv2key) optimisedETLInfoListProcessor(ETLDest etlDest) default StringrootFolderPath(String rootFolder) updateRootFolderStr(String rootFolderStr) default booleanMethods inherited from interface edu.stanford.slac.archiverappliance.plain.PlainStreams
dataAtTime, getStream, getTimeStream, getTimeStream
-
Field Details
-
logger
static final org.apache.logging.log4j.Logger logger
-
-
Method Details
-
pluginIdentifier
String pluginIdentifier() -
getPathResolver
-
getExtensionString
-
useSearchForPositions
default boolean useSearchForPositions() -
rootFolderPath
-
initCompression
-
fileInfo
- Throws:
IOException
-
appendDataStateData
AppendDataStateData appendDataStateData(Instant timestamp, PartitionGranularity partitionGranularity, String rootFolder, String desc, PVNameToKeyMapping pv2key) -
createEventFileWriter
EventFileWriter createEventFileWriter(String pvName, Path path, ArchDBRTypes type, short year) throws IOException - Throws:
IOException
-
markForDeletion
- Throws:
IOException
-
movePaths
static void movePaths(BasicContext context, String pvName, String randSuffix, String suffix, String rootFolder, PathResolver pathResolver, PVNameToKeyMapping pv2key) throws IOException - Throws:
IOException
-
deleteTempFiles
static void deleteTempFiles(BasicContext context, String pvName, String randSuffix, String rootFolder, PathResolver pathResolver, PVNameToKeyMapping pv2key) throws IOException - Throws:
IOException
-
dataMovePaths
void dataMovePaths(BasicContext context, String pvName, String randSuffix, String suffix, String rootFolder, PVNameToKeyMapping pv2key) throws IOException - Throws:
IOException
-
dataDeleteTempFiles
void dataDeleteTempFiles(BasicContext context, String pvName, String randSuffix, String rootFolder, PVNameToKeyMapping pv2key) throws IOException - Throws:
IOException
-
optimisedETLInfoListProcessor
-
updateRootFolderStr
-
backUpFiles
boolean backUpFiles(boolean backupFilesBeforeETL) -
urlOptions
-
getPathKey
-