@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class FileSystemSource extends Source
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FileSystemSource(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FileFormat |
format() |
static SourceResult |
Make(Schema schema,
Expression root_partition,
FileFormat format,
FileSystem filesystem,
FileStatsVector stats)
\brief Create a FileSystemSource.
|
static SourceResult |
Make(Schema schema,
Expression root_partition,
FileFormat format,
FileSystem filesystem,
FileStatsVector stats,
ExpressionVector partitions)
\brief Create a FileSystemSource with file-level partitions.
|
static SourceResult |
Make(Schema schema,
Expression root_partition,
FileFormat format,
FileSystem filesystem,
PathForest forest,
ExpressionVector partitions)
\brief Create a FileSystemSource with file-level partitions.
|
String |
ToString() |
String |
type_name()
\brief The name identifying the kind of source
|
GetFragments, partition_expression, schemaaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic FileSystemSource(Pointer p)
Pointer.Pointer(Pointer).@ByVal public static SourceResult Make(@SharedPtr @ByVal Schema schema, @SharedPtr @ByVal Expression root_partition, @SharedPtr FileFormat format, @SharedPtr FileSystem filesystem, @ByVal FileStatsVector stats)
schema - [in] the top-level schema of the DataSourceroot_partition - [in] the top-level partition of the DataSourceformat - [in] file format to create fragments from.filesystem - [in] the filesystem which files are from.stats - [in] a list of files/directories to consume.
attach additional partition expressions to FileStats found in stats.
The caller is not required to provide a complete coverage of nodes and
partitions.@ByVal public static SourceResult Make(@SharedPtr @ByVal Schema schema, @SharedPtr @ByVal Expression root_partition, @SharedPtr FileFormat format, @SharedPtr FileSystem filesystem, @ByVal FileStatsVector stats, @ByVal ExpressionVector partitions)
schema - [in] the top-level schema of the DataSourceroot_partition - [in] the top-level partition of the DataSourceformat - [in] file format to create fragments from.filesystem - [in] the filesystem which files are from.stats - [in] a list of files/directories to consume.partitions - [in] partition information associated with stats.
attach additional partition expressions to FileStats found in stats.
The caller is not required to provide a complete coverage of nodes and
partitions.@ByVal public static SourceResult Make(@SharedPtr @ByVal Schema schema, @SharedPtr @ByVal Expression root_partition, @SharedPtr FileFormat format, @SharedPtr FileSystem filesystem, @ByVal PathForest forest, @ByVal ExpressionVector partitions)
schema - [in] the top-level schema of the DataSourceroot_partition - [in] the top-level partition of the DataSourceformat - [in] file format to create fragments from.filesystem - [in] the filesystem which files are from.forest - [in] a PathForest of files/directories to consume.partitions - [in] partition information associated with forest.
attach additional partition expressions to FileStats found in forest.
The caller is not required to provide a complete coverage of nodes and
partitions.@StdString public String type_name()
Source@StdString public String ToString()
@SharedPtr public FileFormat format()
Copyright © 2020. All rights reserved.