@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 |
---|---|
LongOptionalFuture |
CountRows(FileFragment file,
Expression predicate,
ScanOptions options) |
FileWriteOptions |
DefaultWriteOptions()
\brief Get default write options for this format.
|
boolean |
Equals(FileFormat other) |
ParquetFileFormat |
getPointer(long i) |
FileReaderResult |
GetReader(FileSource source) |
FileReaderResult |
GetReader(FileSource source,
ScanOptions arg1)
\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,
Schema physical_schema)
\brief Create a Fragment targeting all RowGroups.
|
ParquetFileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
Schema physical_schema,
int[] row_groups) |
ParquetFileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
Schema physical_schema,
IntBuffer row_groups) |
ParquetFileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
Schema physical_schema,
IntPointer row_groups)
\brief Create a Fragment, restricted to the specified row groups.
|
FileWriterResult |
MakeWriter(OutputStream destination,
Schema schema,
FileWriteOptions options,
FileLocator destination_locator)
\brief Create a writer for this format.
|
ParquetFileFormat |
position(long position) |
TimeUnit.type |
reader_options_coerce_int96_timestamp_unit() |
ParquetFileFormat |
reader_options_coerce_int96_timestamp_unit(TimeUnit.type setter) |
StringUnorderedSet |
reader_options_dict_columns()
\defgroup parquet-file-format-arrow-reader-properties properties which correspond
to members of parquet::ArrowReaderProperties.
|
ParquetFileFormat |
reader_options_dict_columns(StringUnorderedSet setter) |
RecordBatchGeneratorResult |
ScanBatchesAsync(ScanOptions options,
FileFragment file) |
ScanTaskIteratorResult |
ScanFile(ScanOptions options,
FileFragment file)
\brief Open a file for scanning
|
String |
type_name()
\brief The name identifying the kind of file format
|
default_fragment_scan_options, default_fragment_scan_options, MakeFragment, MakeFragment, MakeFragment
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public 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()
FileFormat
type_name
in class FileFormat
@Cast(value="bool") public boolean Equals(@Const @ByRef FileFormat other)
Equals
in class FileFormat
@Name(value="reader_options.dict_columns") @ByRef public StringUnorderedSet reader_options_dict_columns()
public ParquetFileFormat reader_options_dict_columns(StringUnorderedSet setter)
@Name(value="reader_options.coerce_int96_timestamp_unit") public TimeUnit.type reader_options_coerce_int96_timestamp_unit()
public ParquetFileFormat reader_options_coerce_int96_timestamp_unit(TimeUnit.type 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, @Const @SharedPtr @ByRef FileFragment file)
ScanFile
in class FileFormat
@ByVal public RecordBatchGeneratorResult ScanBatchesAsync(@SharedPtr ScanOptions options, @Const @SharedPtr @ByRef FileFragment file)
ScanBatchesAsync
in class FileFormat
@ByVal public LongOptionalFuture CountRows(@Const @SharedPtr @ByRef FileFragment file, @ByVal Expression predicate, @SharedPtr ScanOptions options)
CountRows
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)
@ByVal public FileReaderResult GetReader(@Const @ByRef FileSource source)
@ByVal public FileWriterResult MakeWriter(@SharedPtr OutputStream destination, @SharedPtr @ByVal Schema schema, @SharedPtr FileWriteOptions options, @ByVal FileLocator destination_locator)
FileFormat
MakeWriter
in class FileFormat
@SharedPtr public FileWriteOptions DefaultWriteOptions()
FileFormat
DefaultWriteOptions
in class FileFormat
Copyright © 2022. All rights reserved.