Class OrcFileWriter
java.lang.Object
io.trino.plugin.raptor.legacy.storage.OrcFileWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionOrcFileWriter(TypeManager typeManager, List<Long> columnIds, List<Type> columnTypes, File target) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendPages(List<Page> pages) voidappendPages(List<Page> pages, int[] pageIndexes, int[] positionIndexes) voidclose()static OrcWritercreateOrcFileWriter(File target, List<String> columnNames, List<Type> types, ColumnMetadata<OrcType> orcTypes, Map<String, String> metadata) longlong
-
Constructor Details
-
OrcFileWriter
-
-
Method Details
-
appendPages
-
appendPages
-
getRowCount
public long getRowCount() -
getUncompressedSize
public long getUncompressedSize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
createOrcFileWriter
-