@Namespace(value="arrow::dataset") @NoOffset @Properties(inherit=arrow_dataset.class) public class InMemoryDataset extends Dataset
\brief A Source which yields fragments wrapping a stream of record batches. The record batches must match the schema provided to the source at construction.
Modifier and Type | Class and Description |
---|---|
static class |
InMemoryDataset.RecordBatchGenerator |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
InMemoryDataset(Pointer p)
Pointer cast constructor.
|
InMemoryDataset(Schema schema,
InMemoryDataset.RecordBatchGenerator get_batches)
Construct a dataset from a schema and a factory of record batch iterators.
|
InMemoryDataset(Schema schema,
RecordBatchVector batches)
Convenience constructor taking a fixed list of batches
|
InMemoryDataset(Table table)
Convenience constructor taking a Table
|
Modifier and Type | Method and Description |
---|---|
DatasetResult |
ReplaceSchema(Schema schema)
\brief Return a copy of this Dataset with a different schema.
|
String |
type_name()
\brief The name identifying the kind of 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 InMemoryDataset(Pointer p)
Pointer(Pointer)
.public InMemoryDataset(@SharedPtr @ByVal Schema schema, @SharedPtr InMemoryDataset.RecordBatchGenerator get_batches)
public InMemoryDataset(@SharedPtr @ByVal Schema schema, @ByVal RecordBatchVector batches)
public InMemoryDataset(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::Table>"}) Table table)
@StdString public String type_name()
Dataset
@ByVal public DatasetResult ReplaceSchema(@SharedPtr @ByVal Schema schema)
Dataset
ReplaceSchema
in class Dataset
Copyright © 2022. All rights reserved.