static edu.stanford.slac.archiverappliance.PlainPB.PlainPBPathNameUtility.StartEndTimeFromName |
PlainPBPathNameUtility.determineTimesFromFileName(String pvName,
String finalNameComponent,
PartitionGranularity partitionGranularity,
PVNameToKeyMapping pv2key) |
Determines the times for a chunk simply from the file name.
|
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(PlainPBStoragePlugin plugin,
String pvName,
long epochSeconds,
ArchPaths paths,
PVNameToKeyMapping pv2key) |
|
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(PlainPBStoragePlugin plugin,
String pvName,
long epochSeconds,
ArchPaths paths,
PVNameToKeyMapping pv2key) |
|
static Path |
PlainPBPathNameUtility.getSparsifiedPathNameForTime(String rootFolder,
String pvName,
long epochSeconds,
PartitionGranularity partitionGranularity,
ArchPaths paths,
PlainPBStoragePlugin.CompressionMode compressionMode,
PVNameToKeyMapping pv2key) |
|