Class SegmentLocalFSDirectory.Writer
- java.lang.Object
-
- org.apache.pinot.segment.spi.store.SegmentDirectory.Reader
-
- org.apache.pinot.segment.spi.store.SegmentDirectory.Writer
-
- org.apache.pinot.segment.local.segment.store.SegmentLocalFSDirectory.Writer
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- SegmentLocalFSDirectory
public class SegmentLocalFSDirectory.Writer extends SegmentDirectory.Writer
SegmentDirectory Writer
-
-
Constructor Summary
Constructors Constructor Description Writer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()PinotDataBuffergetIndexFor(String column, IndexType<?,?,?> type)booleanhasIndexFor(String column, IndexType<?,?,?> type)PinotDataBuffernewIndexFor(String columnName, IndexType<?,?,?> indexType, long sizeBytes)voidremoveIndex(String columnName, IndexType<?,?,?> indexType)voidsave()StringtoString()-
Methods inherited from class org.apache.pinot.segment.spi.store.SegmentDirectory.Reader
getStarTreeIndexReader, hasStarTreeIndex, toSegmentDirectory
-
-
-
-
Method Detail
-
newIndexFor
public PinotDataBuffer newIndexFor(String columnName, IndexType<?,?,?> indexType, long sizeBytes) throws IOException
- Specified by:
newIndexForin classSegmentDirectory.Writer- Throws:
IOException
-
removeIndex
public void removeIndex(String columnName, IndexType<?,?,?> indexType)
- Specified by:
removeIndexin classSegmentDirectory.Writer
-
save
public void save()
- Specified by:
savein classSegmentDirectory.Writer
-
toString
public String toString()
- Specified by:
toStringin classSegmentDirectory.Writer
-
close
public void close() throws IOException- Throws:
IOException
-
getIndexFor
public PinotDataBuffer getIndexFor(String column, IndexType<?,?,?> type) throws IOException
- Specified by:
getIndexForin classSegmentDirectory.Reader- Throws:
IOException
-
hasIndexFor
public boolean hasIndexFor(String column, IndexType<?,?,?> type)
- Specified by:
hasIndexForin classSegmentDirectory.Reader
-
-