@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class FileFormat extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FileFormat(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
LongOptionalFuture |
CountRows(FileFragment file,
Expression predicate,
ScanOptions options) |
FragmentScanOptions |
default_fragment_scan_options()
Options affecting how this format is scanned.
|
FileFormat |
default_fragment_scan_options(FragmentScanOptions setter) |
FileWriteOptions |
DefaultWriteOptions()
\brief Get default write options for this format.
|
boolean |
Equals(FileFormat other) |
SchemaResult |
Inspect(FileSource source)
\brief Return the schema of the file if possible.
|
BoolResult |
IsSupported(FileSource source)
\brief Indicate if the FileSource is supported/readable by this format.
|
FileFragmentResult |
MakeFragment(FileSource source) |
FileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression)
\brief Create a FileFragment for a FileSource.
|
FileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
Schema physical_schema)
\brief Open a fragment
|
FileFragmentResult |
MakeFragment(FileSource source,
Schema physical_schema)
\brief Create a FileFragment for a FileSource.
|
FileWriterResult |
MakeWriter(OutputStream destination,
Schema schema,
FileWriteOptions options,
FileLocator destination_locator)
\brief Create a writer for this format.
|
RecordBatchGeneratorResult |
ScanBatchesAsync(ScanOptions options,
FileFragment file) |
ScanTaskIteratorResult |
ScanFile(ScanOptions options,
FileFragment file)
\brief Open a FileFragment for scanning.
|
String |
type_name()
\brief The name identifying the kind of file format
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FileFormat(Pointer p)
Pointer(Pointer)
.@SharedPtr public FragmentScanOptions default_fragment_scan_options()
public FileFormat default_fragment_scan_options(FragmentScanOptions setter)
@StdString public String type_name()
@Cast(value="bool") public boolean Equals(@Const @ByRef FileFormat other)
@ByVal public BoolResult IsSupported(@Const @ByRef FileSource source)
@ByVal public SchemaResult Inspect(@Const @ByRef FileSource source)
@ByVal public ScanTaskIteratorResult ScanFile(@SharedPtr ScanOptions options, @Const @SharedPtr @ByRef FileFragment file)
@ByVal public RecordBatchGeneratorResult ScanBatchesAsync(@SharedPtr ScanOptions options, @Const @SharedPtr @ByRef FileFragment file)
@ByVal public LongOptionalFuture CountRows(@Const @SharedPtr @ByRef FileFragment file, @ByVal Expression predicate, @SharedPtr ScanOptions options)
@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source, @ByVal Expression partition_expression, @SharedPtr @ByVal Schema physical_schema)
@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source, @ByVal Expression partition_expression)
@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source, @SharedPtr @ByVal(nullValue="std::shared_ptr<arrow::Schema>(nullptr)") Schema physical_schema)
@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source)
@ByVal public FileWriterResult MakeWriter(@SharedPtr OutputStream destination, @SharedPtr @ByVal Schema schema, @SharedPtr FileWriteOptions options, @ByVal FileLocator destination_locator)
@SharedPtr public FileWriteOptions DefaultWriteOptions()
Copyright © 2022. All rights reserved.