public interface IMetadataQuerier
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
clear caches (if used) to release memory.
|
List<TimeRange> |
convertSpace2TimePartition(List<Path> paths,
long spacePartitionStartPos,
long spacePartitionEndPos)
Convert the space partition constraint to the time partition constraint.
|
List<IChunkMetadata> |
getChunkMetaDataList(Path path) |
Map<Path,List<IChunkMetadata>> |
getChunkMetaDataMap(List<Path> paths) |
TSDataType |
getDataType(Path path) |
TsFileMetadata |
getWholeFileMetadata() |
void |
loadChunkMetaDatas(List<Path> paths)
this will load all chunk metadata of given paths into cache.
|
List<IChunkMetadata> getChunkMetaDataList(Path path) throws IOException
IOExceptionMap<Path,List<IChunkMetadata>> getChunkMetaDataMap(List<Path> paths) throws IOException
IOExceptionTsFileMetadata getWholeFileMetadata()
void loadChunkMetaDatas(List<Path> paths) throws IOException
call this method before calling getChunkMetaDataList() will accelerate the reading of chunk metadata, which will only read TsMetaData once
IOExceptionTSDataType getDataType(Path path) throws NoMeasurementException, IOException
NoMeasurementException - if the measurement not exists.IOExceptionList<TimeRange> convertSpace2TimePartition(List<Path> paths, long spacePartitionStartPos, long spacePartitionEndPos) throws IOException
paths - selected paths in a query expressionspacePartitionStartPos - the start position of the space partitionspacePartitionEndPos - the end position of the space partitionIOExceptionvoid clear()
Copyright © 2022 The Apache Software Foundation. All rights reserved.