Class MetadataIndexNode
- java.lang.Object
-
- org.apache.iotdb.tsfile.file.metadata.MetadataIndexNode
-
public class MetadataIndexNode extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MetadataIndexNode(java.util.List<MetadataIndexEntry> children, long endOffset, MetadataIndexNodeType nodeType)MetadataIndexNode(MetadataIndexNodeType nodeType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(MetadataIndexEntry metadataIndexEntry)static MetadataIndexNodedeserializeFrom(java.nio.ByteBuffer buffer)Pair<MetadataIndexEntry,java.lang.Long>getChildIndexEntry(java.lang.String key, boolean exactSearch)java.util.List<MetadataIndexEntry>getChildren()longgetEndOffset()MetadataIndexNodeTypegetNodeType()booleanisFull()intserializeTo(java.io.OutputStream outputStream)voidsetEndOffset(long endOffset)
-
-
-
Constructor Detail
-
MetadataIndexNode
public MetadataIndexNode(MetadataIndexNodeType nodeType)
-
MetadataIndexNode
public MetadataIndexNode(java.util.List<MetadataIndexEntry> children, long endOffset, MetadataIndexNodeType nodeType)
-
-
Method Detail
-
getChildren
public java.util.List<MetadataIndexEntry> getChildren()
-
getEndOffset
public long getEndOffset()
-
setEndOffset
public void setEndOffset(long endOffset)
-
getNodeType
public MetadataIndexNodeType getNodeType()
-
addEntry
public void addEntry(MetadataIndexEntry metadataIndexEntry)
-
isFull
public boolean isFull()
-
serializeTo
public int serializeTo(java.io.OutputStream outputStream) throws java.io.IOException- Throws:
java.io.IOException
-
deserializeFrom
public static MetadataIndexNode deserializeFrom(java.nio.ByteBuffer buffer)
-
getChildIndexEntry
public Pair<MetadataIndexEntry,java.lang.Long> getChildIndexEntry(java.lang.String key, boolean exactSearch)
-
-