@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class Dataset extends Pointer
\brief A container of zero or more Fragments. A Dataset acts as a union of Fragments, e.g. files deeply nested in a directory. A Dataset has a schema to which Fragments must align during a scan operation. This is analogous to Avro's reader and writer schema.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Dataset(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
FragmentIteratorResult |
GetFragments() |
FragmentIteratorResult |
GetFragments(Expression predicate)
\brief GetFragments returns an iterator of Fragments given a predicate.
|
ScannerBuilderResult |
NewScan()
\brief Begin to build a new Scan operation against this Dataset
|
Expression |
partition_expression()
\brief An expression which evaluates to true for all data viewed by this Dataset.
|
DatasetResult |
ReplaceSchema(Schema schema)
\brief Return a copy of this Dataset with a different schema.
|
Schema |
schema() |
String |
type_name()
\brief The name identifying the kind of Dataset
|
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 Dataset(Pointer p)
Pointer(Pointer)
.@ByVal public ScannerBuilderResult NewScan()
@ByVal public FragmentIteratorResult GetFragments(@ByVal Expression predicate)
@ByVal public FragmentIteratorResult GetFragments()
@Const @SharedPtr @ByRef public Schema schema()
@Const @ByRef public Expression partition_expression()
@StdString public String type_name()
@ByVal public DatasetResult ReplaceSchema(@SharedPtr @ByVal Schema schema)
Copyright © 2022. All rights reserved.