@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.
|
FileSystem |
filesystem()
\brief Return the filesystem.
|
FileFormat |
format()
\brief Return the format.
|
static FileSystemDatasetResult |
Make(Schema schema,
Expression root_partition,
FileFormat format,
FileSystem filesystem,
FileFragmentVector fragments) |
static FileSystemDatasetResult |
Make(Schema schema,
Expression root_partition,
FileFormat format,
FileSystem filesystem,
FileFragmentVector fragments,
Partitioning partitioning)
\brief Create a FileSystemDataset.
|
Partitioning |
partitioning()
\brief Return the partitioning.
|
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 Status |
Write(FileSystemDatasetWriteOptions write_options,
Scanner scanner)
\brief Write a dataset.
|
GetFragments, GetFragments, NewScan, partition_expression, schema
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 FileSystemDataset(Pointer p)
Pointer(Pointer)
.@ByVal public static FileSystemDatasetResult Make(@SharedPtr @ByVal Schema schema, @ByVal Expression root_partition, @SharedPtr FileFormat format, @SharedPtr FileSystem filesystem, @ByVal FileFragmentVector fragments, @SharedPtr Partitioning partitioning)
schema
- [in] the schema of the datasetroot_partition
- [in] the partition expression of the datasetformat
- [in] the format of each FileFragment.filesystem
- [in] the filesystem of each FileFragment, or nullptr if the
fragments wrap buffers.fragments
- [in] list of fragments to create the dataset from.partitioning
- [in] the Partitioning object in case the dataset is created
with a known partitioning (e.g. from a discovered partitioning
through a DatasetFactory), or nullptr if not known.
Note that fragments wrapping files resident in differing filesystems are not
permitted; to work with multiple filesystems use a UnionDataset.@ByVal public static FileSystemDatasetResult Make(@SharedPtr @ByVal Schema schema, @ByVal Expression root_partition, @SharedPtr FileFormat format, @SharedPtr FileSystem filesystem, @ByVal FileFragmentVector fragments)
@ByVal public static Status Write(@Const @ByRef FileSystemDatasetWriteOptions write_options, @SharedPtr @ByVal Scanner scanner)
@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()
@SharedPtr public FileSystem filesystem()
@SharedPtr public Partitioning partitioning()
@StdString public String ToString()
Copyright © 2022. All rights reserved.