@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 |
|---|---|
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) |
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
|
WriteTaskResult |
WriteFragment(WritableFileSource destination,
Fragment fragment,
ScanOptions options,
ScanContext scan_context)
\brief Write a fragment.
|
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(Pointer).@StdString public String type_name()
@Cast(value="bool") public boolean splittable()
@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, @SharedPtr @ByVal Expression partition_expression, @SharedPtr @ByVal Schema physical_schema)
@ByVal public FileFragmentResult MakeFragment(@ByVal FileSource source, @SharedPtr @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 WriteTaskResult WriteFragment(@ByVal WritableFileSource destination, @SharedPtr @ByVal Fragment fragment, @SharedPtr ScanOptions options, @SharedPtr ScanContext scan_context)
Copyright © 2020. All rights reserved.