Uses of Interface
org.epics.archiverappliance.config.PVNameToKeyMapping
Packages that use PVNameToKeyMapping
-
Uses of PVNameToKeyMapping in edu.stanford.slac.archiverappliance.PlainPB
Methods in edu.stanford.slac.archiverappliance.PlainPB with parameters of type PVNameToKeyMappingModifier and TypeMethodDescriptionPlainPBPathNameUtility.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 PathPlainPBPathNameUtility.getFileName(String rootFolder, String pvName, Instant ts, String extension, PartitionGranularity partitionGranularity, boolean createParentFolder, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key) This method returns the path for a given pv for a given time based on the partitionGranularitystatic PathPlainPBPathNameUtility.getMostRecentPathBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Instant 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 PathPlainPBPathNameUtility.getPathNameForTime(PlainPBStoragePlugin plugin, String pvName, Instant ts, ArchPaths paths, PVNameToKeyMapping pv2key) static PathPlainPBPathNameUtility.getPathNameForTime(String rootFolder, String pvName, Instant ts, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key) static Path[]PlainPBPathNameUtility.getPathsBeforeCurrentPartition(ArchPaths archPaths, String rootFolder, String pvName, Instant 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, Instant startts, Instant 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 PathPlainPBPathNameUtility.getPreviousPartitionBeforeTime(ArchPaths archPaths, String rootFolder, String pvName, Instant 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 PathPlainPBPathNameUtility.getSparsifiedPathNameForTime(PlainPBStoragePlugin plugin, String pvName, Instant ts, ArchPaths paths, PVNameToKeyMapping pv2key) static PathPlainPBPathNameUtility.getSparsifiedPathNameForTime(String rootFolder, String pvName, Instant ts, PartitionGranularity partitionGranularity, ArchPaths paths, PlainPBStoragePlugin.CompressionMode compressionMode, PVNameToKeyMapping pv2key) Constructors in edu.stanford.slac.archiverappliance.PlainPB with parameters of type PVNameToKeyMappingModifierConstructorDescriptionAppendDataStateData(PartitionGranularity partitionGranularity, String rootFolder, String desc, Instant lastKnownTimestamp, PVNameToKeyMapping pv2key, PlainPBStoragePlugin.CompressionMode compressionMode) -
Uses of PVNameToKeyMapping in org.epics.archiverappliance.config
Classes in org.epics.archiverappliance.config that implement PVNameToKeyMappingModifier and TypeClassDescriptionclassMost labs use a standard character (typically the ":" or the "-" character) in their naming conventions to separate out the components of a name.Fields in org.epics.archiverappliance.config declared as PVNameToKeyMappingModifier and TypeFieldDescriptionprotected PVNameToKeyMappingDefaultConfigService.pvName2KeyConverterMethods in org.epics.archiverappliance.config that return PVNameToKeyMappingModifier and TypeMethodDescriptionConfigService.getPVNameToKeyConverter()Implementation for converting a PV name to something that forms the prefix of a chunk's key.DefaultConfigService.getPVNameToKeyConverter()