Uses of Class
edu.stanford.slac.archiverappliance.PlainPB.PlainPBStoragePlugin.CompressionMode
-
Packages that use PlainPBStoragePlugin.CompressionMode Package Description edu.stanford.slac.archiverappliance.PlainPB Files supporting the PlainPBStoragePlugin; one of the main StoragePlugin's in the Archiver Appliance. -
-
Uses of PlainPBStoragePlugin.CompressionMode in edu.stanford.slac.archiverappliance.PlainPB
Methods in edu.stanford.slac.archiverappliance.PlainPB that return PlainPBStoragePlugin.CompressionMode Modifier and Type Method Description PlainPBStoragePlugin.CompressionMode
PlainPBStoragePlugin. getCompressionMode()
static PlainPBStoragePlugin.CompressionMode
PlainPBStoragePlugin.CompressionMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static PlainPBStoragePlugin.CompressionMode[]
PlainPBStoragePlugin.CompressionMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in edu.stanford.slac.archiverappliance.PlainPB with parameters of type PlainPBStoragePlugin.CompressionMode Modifier and Type Method Description static Path[]
PlainPBPathNameUtility. getAllPathsForPV(ArchPaths archPaths, String rootFolder, String pvName, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
This method returns all the paths that could contain data for a PV sorted according to the name (which in our case should translate to time).static Path
PlainPBPathNameUtility. getMostRecentPathBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Timestamp startts, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
If a PV changes infrequently, we often will not have a sample in the given time frame.static Path
PlainPBPathNameUtility. getPathNameForTime(String rootFolder, String pvName, long epochSeconds, boolean useReducedData, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
static Path
PlainPBPathNameUtility. getPathNameForTime(String rootFolder, String pvName, long epochSeconds, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
static Path[]
PlainPBPathNameUtility. getPathsBeforeCurrentPartition(ArchPaths archPaths, String rootFolder, String pvName, Timestamp currentTime, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
The PlainPB storage plugin partitions files according to time and partition granularity.static Path[]
PlainPBPathNameUtility. getPathsWithData(ArchPaths archPaths, String rootFolder, String pvName, Timestamp startts, Timestamp endts, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
Given a parent folder, this method returns a list of all the paths with data that falls within the specified timeframe.static Path
PlainPBPathNameUtility. getPreviousPartitionBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Timestamp startts, String extension, PartitionGranularity granularity, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
If a PV changes infrequently, we often will not have a sample in the given time frame.static Path
PlainPBPathNameUtility. getSparsifiedPathNameForTime(String rootFolder, String pvName, long epochSeconds, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
Constructors in edu.stanford.slac.archiverappliance.PlainPB with parameters of type PlainPBStoragePlugin.CompressionMode Constructor Description AppendDataStateData(PartitionGranularity partitionGranularity, String rootFolder, String desc, Timestamp lastKnownTimestamp, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key)
-