public class TimePartition extends CollectionPathMatcher implements PartitionManager
CollectionAbstract.DateSorter, CollectionAbstract.MyStreamFilter
config
auxInfo, CATALOG, collectionName, dateExtractor, DIR, FILE, GLOB, lastModified, LIST, logger, NCX_SUFFIX, protoChoice, root, sfilter, startCollection
Constructor and Description |
---|
TimePartition(FeatureCollectionConfig config,
CollectionSpecParser specp,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
Iterable<MCollection> |
makePartitions(CollectionUpdateType forceCollection) |
void |
removePartition(MCollection partition) |
close, getFileIterator, getFilesSorted
cleanName, extractDate, getAuxInfo, getCollectionName, getFilenames, getIndexFilename, getLastModified, getLatestFile, getPartitionDate, getProtoIndex, getRoot, hasDateExtractor, makeFileListSorted, open, parseOlderThanString, putAuxInfo, setDateExtractor, setRoot, setStreamFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, extractDate, getAuxInfo, getCollectionName, getFileIterator, getFilenames, getFilesSorted, getIndexFilename, getLastModified, getLatestFile, getPartitionDate, getProtoIndex, getRoot, hasDateExtractor, putAuxInfo
public TimePartition(FeatureCollectionConfig config, CollectionSpecParser specp, org.slf4j.Logger logger)
public Iterable<MCollection> makePartitions(CollectionUpdateType forceCollection) throws IOException
makePartitions
in interface PartitionManager
IOException
public void removePartition(MCollection partition)
removePartition
in interface PartitionManager
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.