@Namespace(value="arrow::dataset") @Properties(inherit=arrow_dataset.class) public class ParquetFileFormat extends FileFormat
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ParquetFileFormat() |
ParquetFileFormat(long size)
Native array allocator.
|
ParquetFileFormat(Pointer p)
Pointer cast constructor.
|
ParquetFileFormat(ReaderProperties reader_properties)
Convenience constructor which copies properties from a parquet::ReaderProperties.
|
MakeFragment, MakeFragment, MakeFragmentaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic ParquetFileFormat(Pointer p)
Pointer(Pointer).public ParquetFileFormat(long size)
Pointer.position(long).public ParquetFileFormat()
public ParquetFileFormat(@Const @ByRef ReaderProperties reader_properties)
public ParquetFileFormat position(long position)
public ParquetFileFormat getPointer(long i)
getPointer in class Pointer@StdString public String type_name()
FileFormattype_name in class FileFormat@Cast(value="bool") public boolean splittable()
FileFormatsplittable in class FileFormat@Cast(value="bool") public boolean Equals(@Const @ByRef FileFormat other)
Equals in class FileFormat@Name(value="reader_options.use_buffered_stream") @Cast(value="bool") public boolean reader_options_use_buffered_stream()
public ParquetFileFormat reader_options_use_buffered_stream(boolean setter)
@Name(value="reader_options.buffer_size") @Cast(value="int64_t") public long reader_options_buffer_size()
public ParquetFileFormat reader_options_buffer_size(long setter)
@Name(value="reader_options.file_decryption_properties") @SharedPtr public FileDecryptionProperties reader_options_file_decryption_properties()
public ParquetFileFormat reader_options_file_decryption_properties(FileDecryptionProperties setter)
@Name(value="reader_options.dict_columns") @ByRef public StringUnorderedSet reader_options_dict_columns()
\defgroup parquet-file-format-arrow-reader-properties properties which correspond to members of parquet::ArrowReaderProperties. We don't embed parquet::ReaderProperties directly because we get batch_size from ScanOptions at scan time, and we will never pass use_threads == true (since we defer parallelization of the scan). Additionally column names (rather than indices) are used to indicate dictionary columns. \{
public ParquetFileFormat reader_options_dict_columns(StringUnorderedSet setter)
@Name(value="reader_options.enable_parallel_column_conversion") @Cast(value="bool") public boolean reader_options_enable_parallel_column_conversion()
EXPERIMENTAL: Parallelize conversion across columns. This option is ignored if a scan is already parallelized across input files to avoid thread contention. This option will be removed after support is added for simultaneous parallelization across files and columns.
public ParquetFileFormat reader_options_enable_parallel_column_conversion(boolean setter)
@ByVal public BoolResult IsSupported(@Const @ByRef FileSource source)
FileFormatIsSupported in class FileFormat@ByVal public SchemaResult Inspect(@Const @ByRef FileSource source)
Inspect in class FileFormat@ByVal public ScanTaskIteratorResult ScanFile(@SharedPtr ScanOptions options, @SharedPtr ScanContext context, FileFragment file)
ScanFile in class FileFormat@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source, @ByVal Expression partition_expression, @SharedPtr @ByVal Schema physical_schema)
MakeFragment in class FileFormat@ByVal public ParquetFileFragmentResult MakeFragment(@ByVal FileSource source, @ByVal Expression partition_expression, @SharedPtr @ByVal Schema physical_schema, @StdVector IntPointer row_groups)
@ByVal public ParquetFileFragmentResult MakeFragment(@ByVal FileSource source, @ByVal Expression partition_expression, @SharedPtr @ByVal Schema physical_schema, @StdVector IntBuffer row_groups)
@ByVal public ParquetFileFragmentResult MakeFragment(@ByVal FileSource source, @ByVal Expression partition_expression, @SharedPtr @ByVal Schema physical_schema, @StdVector int[] row_groups)
@ByVal public FileReaderResult GetReader(@Const @ByRef FileSource source, ScanOptions arg1, ScanContext arg2)
@ByVal public FileReaderResult GetReader(@Const @ByRef FileSource source)
@ByVal public FileWriterResult MakeWriter(@SharedPtr OutputStream destination, @SharedPtr @ByVal Schema schema, @SharedPtr FileWriteOptions options)
MakeWriter in class FileFormat@SharedPtr public FileWriteOptions DefaultWriteOptions()
DefaultWriteOptions in class FileFormatCopyright © 2021. All rights reserved.