@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 |
|---|---|
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, ToStringaddress, 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, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic InMemoryFragment(Pointer p)
Pointer(Pointer).public InMemoryFragment(@SharedPtr @ByVal Schema schema, @ByVal RecordBatchVector record_batches, @ByVal(nullValue="arrow::dataset::Expression(literal(true))") Expression arg2)
public InMemoryFragment(@SharedPtr @ByVal Schema schema, @ByVal RecordBatchVector record_batches)
public InMemoryFragment(@ByVal RecordBatchVector record_batches, @ByVal(nullValue="arrow::dataset::Expression(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)
FragmentScanBatchesAsync in class Fragment@StdString public String type_name()
Copyright © 2021. All rights reserved.