@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class FileSystemDataset extends Dataset
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FileSystemDataset(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StringVector |
files()
\brief Return the path of files.
|
FileFormat |
format()
\brief Return the format.
|
static FileSystemDatasetResult |
Make(Schema schema,
Expression root_partition,
FileFormat format,
FileFragmentVector fragments)
\brief Create a FileSystemDataset.
|
DatasetResult |
ReplaceSchema(Schema schema)
\brief Replace the schema of the dataset.
|
String |
ToString() |
String |
type_name()
\brief Return the type name of the dataset.
|
static FileSystemDatasetResult |
Write(WritePlan plan,
ScanOptions scan_options,
ScanContext scan_context)
\brief Write to a new format and filesystem location, preserving partitioning.
|
GetFragments, GetFragments, NewScan, NewScan, partition_expression, schemaaddress, 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 FileSystemDataset(Pointer p)
Pointer.Pointer(Pointer).@ByVal public static FileSystemDatasetResult Make(@SharedPtr @ByVal Schema schema, @SharedPtr @ByVal Expression root_partition, @SharedPtr FileFormat format, @ByVal FileFragmentVector fragments)
schema - [in] the schema of the datasetroot_partition - [in] the partition expression of the datasetformat - [in] the format of each FileFragment.fragments - [in] list of fragments to create the dataset from
Note that all fragment must be of FileFragment type. The type are
erased to simplify callers.@ByVal public static FileSystemDatasetResult Write(@Const @ByRef WritePlan plan, @SharedPtr ScanOptions scan_options, @SharedPtr ScanContext scan_context)
plan - [in] the WritePlan to execute.scan_options - [in] options in which to scan fragmentsscan_context - [in] context in which to scan fragments before writing.@StdString public String type_name()
@ByVal public DatasetResult ReplaceSchema(@SharedPtr @ByVal Schema schema)
ReplaceSchema in class Dataset@ByVal public StringVector files()
@SharedPtr public FileFormat format()
@StdString public String ToString()
Copyright © 2020. All rights reserved.