| Modifier and Type | Method and Description |
|---|---|
VectorAccessible |
CachedVectorContainer.get() |
| Modifier and Type | Method and Description |
|---|---|
VectorSerializer.Writer |
VectorSerializer.Writer.write(VectorAccessible va) |
VectorSerializer.Writer |
VectorSerializer.Writer.write(VectorAccessible va,
SelectionVector2 sv2) |
| Modifier and Type | Method and Description |
|---|---|
static LogicalExpression |
ExpressionTreeMaterializer.materialize(LogicalExpression expr,
VectorAccessible batch,
ErrorCollector errorCollector,
FunctionLookupContext functionLookupContext) |
static LogicalExpression |
ExpressionTreeMaterializer.materialize(LogicalExpression expr,
VectorAccessible batch,
ErrorCollector errorCollector,
FunctionLookupContext functionLookupContext,
boolean allowComplexWriterExpr) |
static LogicalExpression |
ExpressionTreeMaterializer.materialize(LogicalExpression expr,
VectorAccessible batch,
ErrorCollector errorCollector,
FunctionLookupContext functionLookupContext,
boolean allowComplexWriterExpr,
boolean unionTypeEnabled)
Materializes logical expression taking into account passed parameters.
|
static LogicalExpression |
ExpressionTreeMaterializer.materializeAndCheckErrors(LogicalExpression expr,
VectorAccessible batch,
FunctionLookupContext functionLookupContext) |
| Modifier and Type | Method and Description |
|---|---|
static LogicalExpression |
ExpressionTreeMaterializer.materialize(LogicalExpression expr,
Map<VectorAccessible,BatchReference> batches,
ErrorCollector errorCollector,
FunctionLookupContext functionLookupContext,
boolean allowComplexWriterExpr,
boolean unionTypeEnabled)
Materializes logical expression taking into account passed parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
InterpreterEvaluator.evaluate(int recordCount,
UdfUtilities udfUtilities,
VectorAccessible incoming,
ValueVector outVV,
LogicalExpression expr) |
| Constructor and Description |
|---|
InterpreterEvaluator.EvalVisitor(VectorAccessible incoming,
UdfUtilities udfUtilities) |
| Modifier and Type | Class and Description |
|---|---|
class |
ScanBatch
Record batch used for a particular scan.
|
class |
WriterRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
HashAggBatch |
class |
SpilledRecordbatch
A class to replace "incoming" - instead scanning a spilled partition file
|
class |
StreamingAggBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
FilterRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
FlattenRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
HashJoinBatch |
class |
MergeJoinBatch
A join operator merges two sorted streams using record iterator.
|
class |
NestedLoopJoinBatch |
| Modifier and Type | Method and Description |
|---|---|
static void |
JoinUtils.addLeastRestrictiveCasts(LogicalExpression[] leftExpressions,
VectorAccessible leftBatch,
LogicalExpression[] rightExpressions,
VectorAccessible rightBatch,
FragmentContext context)
Utility method used by joins to add implicit casts on one of the sides of the join condition in case the two
expressions have different types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LimitRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
MergingRecordBatch
The MergingRecordBatch merges pre-sorted record batches from remote senders.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
MergingReceiverTemplate.doSetup(FragmentContext context,
VectorAccessible incoming,
VectorAccessible outgoing) |
void |
MergingReceiverGeneratorBase.doSetup(FragmentContext context,
VectorAccessible incoming,
VectorAccessible outgoing) |
| Modifier and Type | Class and Description |
|---|---|
class |
OrderedPartitionRecordBatch
The purpose of this operator is to generate an ordered partition, rather than a random hash partition.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
OrderedPartitionProjectorTemplate.doSetup(FragmentContext context,
VectorAccessible incoming,
RecordBatch outgoing,
VectorContainer partitionVectors) |
abstract void |
SampleCopierTemplate.doSetup(FragmentContext context,
VectorAccessible incoming,
VectorAccessible outgoing) |
protected void |
OrderedPartitionRecordBatch.doWork(VectorAccessible batch) |
void |
OrderedPartitionProjectorTemplate.setup(FragmentContext context,
VectorAccessible incoming,
RecordBatch outgoing,
List<TransferPair> transfers,
VectorContainer partitionVectors,
int partitions,
SchemaPath outputField) |
void |
OrderedPartitionProjector.setup(FragmentContext context,
VectorAccessible incoming,
RecordBatch outgoing,
List<TransferPair> transfers,
VectorContainer partitionVectors,
int partitions,
SchemaPath outputField) |
void |
SampleCopierTemplate.setupCopier(FragmentContext context,
SelectionVector4 sv4,
VectorAccessible incoming,
VectorAccessible outgoing) |
void |
SampleCopier.setupCopier(FragmentContext context,
SelectionVector4 sv4,
VectorAccessible incoming,
VectorAccessible outgoing) |
protected void |
OrderedPartitionRecordBatch.setupNewSchema(VectorAccessible batch)
Sets up projection that will transfer all of the columns in batch, and also populate the partition column based on
which partition a record falls into in the partition table
|
| Modifier and Type | Class and Description |
|---|---|
class |
PartitionerTemplate.OutgoingRecordBatch |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PartitionerTemplate.OutgoingRecordBatch.doSetup(RecordBatch incoming,
VectorAccessible outgoing) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProducerConsumerBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
ProjectRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
SortBatch |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SortRecordBatchBuilder.add(VectorAccessible batch)
Add another record batch to the set of record batches.
|
static Sorter |
SortBatch.createNewSorter(FragmentContext context,
List<Order.Ordering> orderings,
VectorAccessible batch) |
static Sorter |
SortBatch.createNewSorter(FragmentContext context,
List<Order.Ordering> orderings,
VectorAccessible batch,
MappingSet mainMapping,
MappingSet leftMapping,
MappingSet rightMapping) |
| Constructor and Description |
|---|
RecordBatchData(VectorAccessible batch,
BufferAllocator allocator) |
| Constructor and Description |
|---|
RecordBatchSizer(VectorAccessible va)
Create empirical metadata for a record batch given a vector accessible
(basically, an iterator over the vectors in the batch.)
|
RecordBatchSizer(VectorAccessible va,
SelectionVector2 sv2)
Create empirical metadata for a record batch given a vector accessible
(basically, an iterator over the vectors in the batch) along with a
selection vector for those records.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RemovingRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
TopNBatch |
static class |
TopNBatch.SimpleSV4RecordBatch |
| Modifier and Type | Method and Description |
|---|---|
static PriorityQueue |
TopNBatch.createNewPriorityQueue(MappingSet mainMapping,
MappingSet leftMapping,
MappingSet rightMapping,
OptionSet optionSet,
FunctionLookupContext functionLookupContext,
CodeCompiler codeCompiler,
List<Order.Ordering> orderings,
VectorAccessible batch,
boolean unionTypeEnabled,
boolean codegenDump,
int limit,
BufferAllocator allocator,
BatchSchema.SelectionVectorMode mode) |
| Modifier and Type | Class and Description |
|---|---|
class |
TraceRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
UnionAllRecordBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
UnorderedReceiverBatch |
| Modifier and Type | Class and Description |
|---|---|
class |
IteratorValidatorBatchIterator |
| Constructor and Description |
|---|
BatchValidator(VectorAccessible batch) |
BatchValidator(VectorAccessible batch,
boolean captureErrors) |
| Modifier and Type | Class and Description |
|---|---|
class |
WindowDataBatch |
class |
WindowFrameRecordBatch
support for OVER(PARTITION BY expression1,expression2,...
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
WindowFramer.isPeer(int b1Index,
VectorAccessible b1,
int b2Index,
VectorAccessible b2)
compares two rows from different batches (can be the same), if they have the same value for the order by
expression
|
abstract boolean |
NoFrameSupportTemplate.isPeer(int b1Index,
VectorAccessible b1,
int b2Index,
VectorAccessible b2)
compares two rows from different batches (can be the same), if they have the same value for the order by
expression
|
abstract boolean |
FrameSupportTemplate.isPeer(int b1Index,
VectorAccessible b1,
int b2Index,
VectorAccessible b2)
compares two rows from different batches (can be the same), if they have the same value for the order by
expression
|
boolean |
WindowFramer.isSamePartition(int b1Index,
VectorAccessible b1,
int b2Index,
VectorAccessible b2)
compares two rows from different batches (can be the same), if they have the same value for the partition by
expression
|
abstract boolean |
NoFrameSupportTemplate.isSamePartition(int b1Index,
VectorAccessible b1,
int b2Index,
VectorAccessible b2)
compares two rows from different batches (can be the same), if they have the same value for the partition by
expression
|
abstract boolean |
FrameSupportTemplate.isSamePartition(int b1Index,
VectorAccessible b1,
int b2Index,
VectorAccessible b2)
compares two rows from different batches (can be the same), if they have the same value for the partition by
expression
|
abstract void |
NoFrameSupportTemplate.setupCopyFromInternal(VectorAccessible incoming,
VectorAccessible outgoing) |
abstract void |
NoFrameSupportTemplate.setupCopyNext(VectorAccessible incoming,
VectorAccessible outgoing) |
abstract void |
NoFrameSupportTemplate.setupCopyPrev(VectorAccessible incoming,
VectorAccessible outgoing) |
abstract void |
FrameSupportTemplate.setupEvaluatePeer(VectorAccessible incoming,
VectorAccessible outgoing) |
abstract void |
NoFrameSupportTemplate.setupPartition(WindowDataBatch incoming,
VectorAccessible outgoing)
Called once per partition, before processing the partition.
|
abstract void |
FrameSupportTemplate.setupPartition(WindowDataBatch incoming,
VectorAccessible outgoing)
Called once per partition, before processing the partition.
|
abstract void |
FrameSupportTemplate.setupReadLastValue(VectorAccessible incoming,
VectorAccessible outgoing) |
abstract void |
FrameSupportTemplate.setupSaveFirstValue(VectorAccessible incoming,
VectorAccessible outgoing) |
abstract void |
FrameSupportTemplate.setupWriteFirstValue(VectorAccessible incoming,
VectorAccessible outgoing) |
| Constructor and Description |
|---|
WindowDataBatch(VectorAccessible batch,
OperatorContext oContext) |
| Modifier and Type | Class and Description |
|---|---|
class |
BatchGroup |
class |
ExternalSortBatch |
| Modifier and Type | Method and Description |
|---|---|
SingleBatchSorter |
ExternalSortBatch.createNewSorter(FragmentContext context,
VectorAccessible batch) |
abstract void |
SingleBatchSorterTemplate.doSetup(FragmentContextInterface context,
VectorAccessible incoming,
RecordBatch outgoing) |
abstract void |
PriorityQueueCopierTemplate.doSetup(FragmentContext context,
VectorAccessible incoming,
VectorAccessible outgoing) |
void |
PriorityQueueCopierTemplate.setup(FragmentContext context,
BufferAllocator allocator,
VectorAccessible hyperBatch,
List<BatchGroup> batchGroups,
VectorAccessible outgoing) |
void |
PriorityQueueCopier.setup(FragmentContext context,
BufferAllocator allocator,
VectorAccessible hyperBatch,
List<BatchGroup> batchGroups,
VectorAccessible outgoing) |
void |
SingleBatchSorterTemplate.setup(FragmentContextInterface context,
SelectionVector2 vector2,
VectorAccessible incoming) |
void |
SingleBatchSorter.setup(FragmentContextInterface context,
SelectionVector2 vector2,
VectorAccessible incoming) |
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchGroup.InputBatch
The input batch group gathers batches buffered in memory before
spilling.
|
static class |
BatchGroup.SpilledRun
Holds a set of spilled batches, represented by a file on disk.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BufferedBatches.add(VectorAccessible incoming,
long batchSize) |
void |
SortImpl.addBatch(VectorAccessible incoming)
Process the converted incoming batch by adding it to the in-memory store
of data, or spilling data to disk when necessary.
|
abstract void |
PriorityQueueCopierTemplate.doSetup(VectorAccessible incoming,
VectorAccessible outgoing) |
protected void |
BaseSortWrapper.generateComparisons(ClassGenerator<?> g,
VectorAccessible batch,
org.slf4j.Logger logger) |
PriorityQueueCopier |
PriorityQueueCopierWrapper.getCopier(VectorAccessible batch) |
void |
PriorityQueueCopierTemplate.setup(BufferAllocator allocator,
VectorAccessible hyperBatch,
List<BatchGroup> batchGroups,
VectorAccessible outgoing) |
void |
PriorityQueueCopier.setup(BufferAllocator allocator,
VectorAccessible hyperBatch,
List<BatchGroup> batchGroups,
VectorAccessible outgoing) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CloseableRecordBatch |
interface |
RecordBatch
A record batch contains a set of field values for a particular range of
records.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBinaryRecordBatch<T extends PhysicalOperator> |
class |
AbstractRecordBatch<T extends PhysicalOperator> |
class |
AbstractSingleRecordBatch<T extends PhysicalOperator> |
class |
ExpandableHyperContainer |
class |
RecordBatchLoader
Holds record batch loaded from record batch message.
|
class |
RecordIterator
RecordIterator iterates over incoming record batches one record at a time.
|
class |
SimpleRecordBatch
Wrap a VectorContainer into a record batch.
|
class |
VectorContainer |
| Modifier and Type | Method and Description |
|---|---|
void |
ExpandableHyperContainer.addBatch(VectorAccessible batch) |
void |
VectorInitializer.allocateBatch(VectorAccessible va,
int recordCount) |
static void |
VectorAccessibleUtilities.allocateVectors(VectorAccessible va,
int targetRecordCount) |
static void |
VectorAccessibleUtilities.clear(VectorAccessible va) |
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 VectorContainer |
VectorContainer.getTransferClone(VectorAccessible incoming,
BufferAllocator allocator) |
static VectorContainer |
VectorContainer.getTransferClone(VectorAccessible incoming,
OperatorContext oContext)
Get a set of transferred clones of this container.
|
static VectorContainer |
VectorContainer.getTransferClone(VectorAccessible incoming,
VectorWrapper<?>[] ignoreWrappers,
OperatorContext oContext) |
static void |
VectorAccessibleUtilities.setValueCount(VectorAccessible va,
int count) |
| Constructor and Description |
|---|
ExpandableHyperContainer(VectorAccessible batch) |
RecordValueAccessor(VectorAccessible batch) |
| Modifier and Type | Method and Description |
|---|---|
void |
StringOutputRecordWriter.updateSchema(VectorAccessible batch) |
void |
RecordWriter.updateSchema(VectorAccessible batch)
Update the schema in RecordWriter.
|
| Constructor and Description |
|---|
EventBasedRecordWriter(VectorAccessible batch,
RecordWriter recordWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonRecordWriter.updateSchema(VectorAccessible batch) |
| Modifier and Type | Method and Description |
|---|---|
void |
ParquetRecordWriter.updateSchema(VectorAccessible batch) |
| Modifier and Type | Method and Description |
|---|---|
static void |
VectorUtil.appendVectorAccessibleContent(VectorAccessible va,
StringBuilder formattedResults,
String delimiter,
boolean includeHeader) |
static void |
BatchPrinter.printBatch(VectorAccessible batch) |
static void |
BatchPrinter.printBatch(VectorAccessible batch,
SelectionVector2 sv2) |
static void |
BatchPrinter.printHyperBatch(VectorAccessible batch,
SelectionVector4 sv4) |
static void |
VectorUtil.showVectorAccessibleContent(VectorAccessible va) |
static void |
VectorUtil.showVectorAccessibleContent(VectorAccessible va,
int columnWidth) |
static void |
VectorUtil.showVectorAccessibleContent(VectorAccessible va,
int[] columnWidths) |
static void |
VectorUtil.showVectorAccessibleContent(VectorAccessible va,
String delimiter) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CopyUtil.generateCopies(ClassGenerator<?> g,
VectorAccessible batch,
boolean hyper) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.