| Modifier and Type | Method and Description |
|---|---|
static SchemaChangeException |
SchemaChangeException.schemaChanged(String message,
BatchSchema priorSchema,
BatchSchema newSchema) |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
MockRecordBatch.getSchema() |
BatchSchema |
ScanBatch.getSchema() |
BatchSchema |
WriterRecordBatch.getSchema() |
BatchSchema |
StatisticsWriterRecordBatch.getSchema() |
| Modifier and Type | Method and Description |
|---|---|
MockRecordBatch.Builder |
MockRecordBatch.Builder.setSchema(BatchSchema batchSchema) |
| Constructor and Description |
|---|
MockRecordBatch(FragmentContext context,
OperatorContext oContext,
@NotNull List<VectorContainer> testContainers,
@NotNull List<RecordBatch.IterOutcome> iterOutcomes,
BatchSchema schema) |
MockRecordBatch(FragmentContext context,
OperatorContext oContext,
@NotNull List<VectorContainer> testContainers,
@NotNull List<RecordBatch.IterOutcome> iterOutcomes,
@NotNull List<SelectionVector2> selectionVector2s,
BatchSchema schema)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
SpilledRecordBatch.getSchema() |
BatchSchema |
InternalBatch.getSchema() |
| Constructor and Description |
|---|
SpilledRecordBatch(String spillFile,
int spilledBatches,
FragmentContext context,
BatchSchema schema,
OperatorContext oContext,
SpillSet spillSet) |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
MergingRecordBatch.getSchema() |
| Constructor and Description |
|---|
MetadataAggregateHelper(MetadataAggregateContext context,
ColumnNamesOptions columnNamesOptions,
BatchSchema schema,
AggPrelBase.OperatorPhase phase) |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
PartitionerTemplate.OutgoingRecordBatch.getSchema() |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
OperatorRecordBatch.getSchema() |
BatchSchema |
BatchAccessor.schema() |
BatchSchema |
VectorContainerAccessor.schema() |
BatchSchema |
SchemaTracker.schema() |
| Modifier and Type | Method and Description |
|---|---|
protected BatchSchema |
AbstractGenericCopierTest.createTestSchema(BatchSchema.SelectionVectorMode mode) |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
MockLateralJoinBatch.getSchema() |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
UnorderedReceiverBatch.getSchema() |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
IteratorValidatorBatchIterator.getSchema() |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
WindowDataBatch.getSchema() |
| Modifier and Type | Field and Description |
|---|---|
protected BatchSchema |
BatchGroup.schema |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
BatchGroup.getSchema() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpilledRuns.setSchema(BatchSchema schema) |
void |
SortImpl.setSchema(BatchSchema schema) |
void |
BatchGroup.setSchema(BatchSchema schema)
Updates the schema for this batch group.
|
void |
BufferedBatches.setSchema(BatchSchema schema) |
PriorityQueueCopierWrapper.BatchMerger |
PriorityQueueCopierWrapper.startMerge(BatchSchema schema,
List<? extends BatchGroup> batchGroupList,
VectorContainer outputContainer,
int targetRecordCount,
VectorInitializer allocHelper)
Start a merge operation using the specified vector container.
|
void |
SortImpl.SortResults.updateOutputContainer(VectorContainer container,
SelectionVector4 sv4,
RecordBatch.IterOutcome outcome,
BatchSchema schema) |
void |
SortImpl.EmptyResults.updateOutputContainer(VectorContainer container,
SelectionVector4 sv4,
RecordBatch.IterOutcome outcome,
BatchSchema schema) |
void |
SortImpl.SingleBatchResults.updateOutputContainer(VectorContainer container,
SelectionVector4 sv4,
RecordBatch.IterOutcome outcome,
BatchSchema schema) |
void |
PriorityQueueCopierWrapper.BatchMerger.updateOutputContainer(VectorContainer container,
SelectionVector4 sv4,
RecordBatch.IterOutcome outcome,
BatchSchema schema) |
void |
MergeSortWrapper.updateOutputContainer(VectorContainer container,
SelectionVector4 sv4,
RecordBatch.IterOutcome outcome,
BatchSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
AbstractRowSet.batchSchema() |
BatchSchema |
RowSet.batchSchema() |
| Modifier and Type | Method and Description |
|---|---|
static DirectRowSet |
DirectRowSet.fromSchema(BufferAllocator allocator,
BatchSchema schema) |
| Constructor and Description |
|---|
RowSetBuilder(BufferAllocator allocator,
BatchSchema schema)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected BatchSchema |
MiniPlanUnitTestBase.MiniPlanTestBuilder.expectSchema |
| Modifier and Type | Method and Description |
|---|---|
MiniPlanUnitTestBase.MiniPlanTestBuilder |
MiniPlanUnitTestBase.MiniPlanTestBuilder.expectSchema(BatchSchema batchSchema)
Specify the expected batch schema.
|
| Modifier and Type | Method and Description |
|---|---|
BatchSchema |
BatchSchemaBuilder.build() |
BatchSchema |
SchemaBuilder.build()
Generate a new BatchSchema object based on the current state of the builder.
|
BatchSchema |
BatchSchema.clone() |
BatchSchema |
SchemalessBatch.getSchema() |
BatchSchema |
RecordIterator.getSchema() |
BatchSchema |
VectorContainer.getSchema() |
BatchSchema |
VectorAccessible.getSchema()
Get the schema of the current RecordBatch.
|
BatchSchema |
RecordBatch.getSchema()
Gets the current schema of this record batch.
|
BatchSchema |
SimpleRecordBatch.getSchema() |
BatchSchema |
RecordBatchLoader.getSchema() |
BatchSchema |
AbstractRecordBatch.getSchema() |
BatchSchema |
BatchSchema.merge(BatchSchema otherSchema)
Merge two schemas to produce a new, merged schema.
|
static BatchSchema |
SchemaUtil.mergeSchemas(BatchSchema... schemas)
Returns the merger of schemas.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VectorContainer.buildFrom(BatchSchema sourceSchema) |
static VectorContainer |
SchemaUtil.coerceContainer(VectorAccessible in,
BatchSchema toSchema,
BufferAllocator allocator) |
static VectorContainer |
SchemaUtil.coerceContainer(VectorAccessible in,
BatchSchema toSchema,
OperatorContext context)
Creates a copy a record batch, converting any fields as necessary to coerce it into the provided schema
|
static TupleMetadata |
SchemaUtil.fromBatchSchema(BatchSchema batchSchema) |
static FragmentWritableBatch |
FragmentWritableBatch.getEmptyBatchWithSchema(boolean isLast,
UserBitShared.QueryId queryId,
int sendMajorFragmentId,
int sendMinorFragmentId,
int receiveMajorFragmentId,
int receiveMinorFragmentId,
BatchSchema schema) |
static FragmentWritableBatch |
FragmentWritableBatch.getEmptyLastWithSchema(UserBitShared.QueryId queryId,
int sendMajorFragmentId,
int sendMinorFragmentId,
int receiveMajorFragmentId,
int receiveMinorFragmentId,
BatchSchema schema) |
boolean |
BatchSchema.isEquivalent(BatchSchema other)
Compare that two schemas are identical according to the rules defined
in
MaterializedField.isEquivalent(MaterializedField). |
BatchSchema |
BatchSchema.merge(BatchSchema otherSchema)
Merge two schemas to produce a new, merged schema.
|
static BatchSchema |
SchemaUtil.mergeSchemas(BatchSchema... schemas)
Returns the merger of schemas.
|
| Constructor and Description |
|---|
BatchSchemaBuilder(BatchSchema baseSchema)
Create a new schema starting with the base schema.
|
VectorContainer(BufferAllocator allocator,
BatchSchema schema)
Create a new vector container given a pre-defined schema.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextRecordWriter.startNewSchema(BatchSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaChangeListener.schemaChanged(BatchSchema newSchema) |
| Modifier and Type | Method and Description |
|---|---|
void |
DrillColumnMetaDataList.updateColumnMetaData(String catalogName,
String schemaName,
String tableName,
BatchSchema schema,
List<Class<?>> getObjectClasses) |
| Modifier and Type | Method and Description |
|---|---|
static int |
DrillTestWrapper.addToCombinedVectorResults(Iterable<VectorAccessible> batches,
BatchSchema expectedSchema,
Long expectedBatchSize,
Integer expectedNumBatches,
Map<String,List<Object>> combinedVectors,
Integer expectedTotalRecords)
Add to result vectors and compare batch schema against expected schema while iterating batches.
|
void |
DrillTestWrapper.checkColumnDef(BatchSchema batchSchema) |
RowSet.ExtendableRowSet |
OperatorFixture.rowSet(BatchSchema schema) |
RowSetBuilder |
OperatorFixture.rowSetBuilder(BatchSchema schema) |
RowSetBuilder |
ClientFixture.rowSetBuilder(BatchSchema schema) |
TestBuilder.SchemaTestBuilder |
TestBuilder.schemaBaseLine(BatchSchema batchSchema) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RowSetUtilities.assertSchemasEqual(TupleMetadata expected,
BatchSchema actual) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.