@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.
|
| Modifier and Type | Method and Description |
|---|---|
ParquetFileFormat |
getPointer(long i) |
FileReaderResult |
GetReader(FileSource source) |
FileReaderResult |
GetReader(FileSource source,
ScanOptions arg1,
ScanContext arg2)
\brief Return a FileReader on the given source.
|
SchemaResult |
Inspect(FileSource source)
\brief Return the schema of the file if possible.
|
BoolResult |
IsSupported(FileSource source)
\}
|
FileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
RowGroupInfo row_groups) |
FileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
RowGroupInfo row_groups,
Schema physical_schema)
\brief Create a Fragment, restricted to the specified row groups.
|
FileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
Schema physical_schema)
\brief Create a Fragment targeting all RowGroups.
|
ParquetFileFormat |
position(long position) |
long |
reader_options_buffer_size() |
ParquetFileFormat |
reader_options_buffer_size(long setter) |
StringUnorderedSet |
reader_options_dict_columns()
\}
|
ParquetFileFormat |
reader_options_dict_columns(StringUnorderedSet setter) |
FileDecryptionProperties |
reader_options_file_decryption_properties() |
ParquetFileFormat |
reader_options_file_decryption_properties(FileDecryptionProperties setter) |
boolean |
reader_options_use_buffered_stream()
\defgroup parquet-file-format-reader-properties properties which correspond to
members of parquet::ReaderProperties.
|
ParquetFileFormat |
reader_options_use_buffered_stream(boolean setter) |
ScanTaskIteratorResult |
ScanFile(ScanOptions options,
ScanContext context,
FileFragment file)
\brief Open a file for scanning
|
boolean |
splittable()
\brief Return true if fragments of this format can benefit from parallel scanning.
|
String |
type_name()
\brief The name identifying the kind of file format
|
MakeFragment, MakeFragment, MakeFragment, WriteFragmentaddress, 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(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@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)
@ByVal public BoolResult IsSupported(@Const @ByRef FileSource source)
IsSupported 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, @SharedPtr @ByVal Expression partition_expression, @StdVector RowGroupInfo row_groups, @SharedPtr @ByVal(nullValue="std::shared_ptr<arrow::Schema>(nullptr)") Schema physical_schema)
@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source, @SharedPtr @ByVal Expression partition_expression, @StdVector RowGroupInfo row_groups)
@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source, @SharedPtr @ByVal Expression partition_expression, @SharedPtr @ByVal Schema physical_schema)
MakeFragment in class FileFormat@ByVal public FileReaderResult GetReader(@Const @ByRef FileSource source, ScanOptions arg1, ScanContext arg2)
@ByVal public FileReaderResult GetReader(@Const @ByRef FileSource source)
Copyright © 2020. All rights reserved.