@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class InMemoryFragment extends Fragment
\brief A trivial Fragment that yields ScanTask out of a fixed set of RecordBatch.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
InMemoryFragment(Pointer p)
Pointer cast constructor.
|
InMemoryFragment(RecordBatchVector record_batches) |
InMemoryFragment(RecordBatchVector record_batches,
Expression arg1) |
InMemoryFragment(Schema schema,
RecordBatchVector record_batches) |
InMemoryFragment(Schema schema,
RecordBatchVector record_batches,
Expression arg2) |
Modifier and Type | Method and Description |
---|---|
LongOptionalFuture |
CountRows(Expression predicate,
ScanOptions options)
\brief Count the number of rows in this fragment matching the filter using metadata
only.
|
ScanTaskIteratorResult |
Scan(ScanOptions options)
\brief Scan returns an iterator of ScanTasks, each of which yields
RecordBatches from this Fragment.
|
RecordBatchGeneratorResult |
ScanBatchesAsync(ScanOptions options)
An asynchronous version of Scan
|
String |
type_name() |
partition_expression, ReadPhysicalSchema, ToString
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 InMemoryFragment(Pointer p)
Pointer(Pointer)
.public InMemoryFragment(@SharedPtr @ByVal Schema schema, @ByVal RecordBatchVector record_batches, @ByVal(nullValue="arrow::compute::Expression(compute::literal(true))") Expression arg2)
public InMemoryFragment(@SharedPtr @ByVal Schema schema, @ByVal RecordBatchVector record_batches)
public InMemoryFragment(@ByVal RecordBatchVector record_batches, @ByVal(nullValue="arrow::compute::Expression(compute::literal(true))") Expression arg1)
public InMemoryFragment(@ByVal RecordBatchVector record_batches)
@ByVal public ScanTaskIteratorResult Scan(@SharedPtr ScanOptions options)
Fragment
@ByVal public RecordBatchGeneratorResult ScanBatchesAsync(@SharedPtr ScanOptions options)
Fragment
ScanBatchesAsync
in class Fragment
@ByVal public LongOptionalFuture CountRows(@ByVal Expression predicate, @SharedPtr ScanOptions options)
Fragment
@StdString public String type_name()
Copyright © 2022. All rights reserved.