public class TemporalIndexManager
extends java.lang.Object
Constructor and Description |
---|
TemporalIndexManager(Path datasetPath,
Path indexesPath) |
Modifier and Type | Method and Description |
---|---|
Path |
getDailyIndexesHomePath() |
Path |
getMonthlyIndexesHomePath() |
Path[] |
getNeededDailyIndexes() |
Path[] |
getNeededMontlyIndexes() |
Path[] |
getNeededYearlyIndexes() |
Path |
getYearlyIndexesHomePath() |
static void |
main(java.lang.String[] args) |
void |
prepareNeededIndexes(java.lang.String timeRange)
Based on a certain time range, this method filters all directories and
determines which files need to be indexed on daily, monthly and yearly
levels.
|
public TemporalIndexManager(Path datasetPath, Path indexesPath) throws java.text.ParseException
java.text.ParseException
public void prepareNeededIndexes(java.lang.String timeRange) throws java.io.IOException, java.text.ParseException
timeRange
- java.io.IOException
java.text.ParseException
public Path[] getNeededDailyIndexes()
public Path[] getNeededMontlyIndexes()
public Path[] getNeededYearlyIndexes()
public Path getDailyIndexesHomePath()
public Path getMonthlyIndexesHomePath()
public Path getYearlyIndexesHomePath()
public static void main(java.lang.String[] args) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException