@Namespace(value="arrow::dataset") @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 |
|---|---|
FileWriteOptions |
DefaultWriteOptions() |
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) |
FileFragmentResult |
MakeFragment(FileSource source,
Expression partition_expression,
Schema physical_schema)
\brief Open a fragment
|
FileFragmentResult |
MakeFragment(FileSource source,
Schema physical_schema) |
FileWriterResult |
MakeWriter(OutputStream destination,
Schema schema,
FileWriteOptions options) |
ScanTaskIteratorResult |
ScanFile(ScanOptions options,
ScanContext context,
FileFragment file)
\brief Open a FileFragment 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
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic FileFormat(Pointer p)
Pointer(Pointer).@StdString public String type_name()
@Cast(value="bool") public boolean splittable()
@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, @SharedPtr ScanContext context, FileFragment file)
@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)
@SharedPtr public FileWriteOptions DefaultWriteOptions()
Copyright © 2021. All rights reserved.