Interface IChunkMetadata
-
- All Known Implementing Classes:
AlignedChunkMetadata,ChunkMetadata
public interface IChunkMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IChunkLoadergetChunkLoader()TSDataTypegetDataType()List<TimeRange>getDeleteIntervalList()longgetEndTime()bytegetMask()StringgetMeasurementUid()longgetOffsetOfChunkHeader()longgetStartTime()Statistics<? extends Serializable>getStatistics()longgetVersion()voidinsertIntoSortedDeletions(TimeRange timeRange)booleanisModified()booleanisSeq()booleanneedSetChunkLoader()intserializeTo(OutputStream outputStream, boolean serializeStatistic)voidsetChunkLoader(IChunkLoader chunkLoader)voidsetClosed(boolean closed)voidsetFilePath(String filePath)voidsetModified(boolean modified)voidsetSeq(boolean seq)voidsetVersion(long version)
-
-
-
Method Detail
-
getStatistics
Statistics<? extends Serializable> getStatistics()
-
isModified
boolean isModified()
-
setModified
void setModified(boolean modified)
-
isSeq
boolean isSeq()
-
setSeq
void setSeq(boolean seq)
-
getVersion
long getVersion()
-
setVersion
void setVersion(long version)
-
getOffsetOfChunkHeader
long getOffsetOfChunkHeader()
-
getStartTime
long getStartTime()
-
getEndTime
long getEndTime()
-
getChunkLoader
IChunkLoader getChunkLoader()
-
needSetChunkLoader
boolean needSetChunkLoader()
-
setChunkLoader
void setChunkLoader(IChunkLoader chunkLoader)
-
setFilePath
void setFilePath(String filePath)
-
setClosed
void setClosed(boolean closed)
-
getDataType
TSDataType getDataType()
-
getMeasurementUid
String getMeasurementUid()
-
insertIntoSortedDeletions
void insertIntoSortedDeletions(TimeRange timeRange)
-
serializeTo
int serializeTo(OutputStream outputStream, boolean serializeStatistic) throws IOException
- Throws:
IOException
-
getMask
byte getMask()
-
-