Package | Description |
---|---|
org.apache.drill.exec.compile |
Runtime code-generation, compilation and bytecode-manipulation utilities.
|
org.apache.drill.exec.ops | |
org.apache.drill.exec.physical.impl.aggregate | |
org.apache.drill.exec.physical.impl.common | |
org.apache.drill.exec.physical.impl.join | |
org.apache.drill.exec.physical.impl.sort | |
org.apache.drill.exec.physical.impl.TopN | |
org.apache.drill.exec.physical.impl.xsort |
Modifier and Type | Method and Description |
---|---|
Map<String,byte[]> |
ClassCompilerSelector.compile(ClassTransformer.ClassNames className,
String sourceCode) |
<T> T |
CodeCompiler.createInstance(CodeGenerator<?> cg)
Create a single instance of the generated class.
|
<T> List<T> |
CodeCompiler.createInstances(CodeGenerator<?> cg,
int count)
Create multiple instances of the generated class.
|
protected abstract byte[][] |
AbstractClassCompiler.getByteCode(ClassTransformer.ClassNames className,
String sourcecode) |
byte[][] |
QueryClassLoader.getClassByteCode(ClassTransformer.ClassNames className,
String sourceCode) |
byte[][] |
AbstractClassCompiler.getClassByteCode(ClassTransformer.ClassNames className,
String sourceCode) |
Class<?> |
ClassTransformer.getImplementationClass(CodeGenerator<?> cg) |
Class<?> |
ClassBuilder.getImplementationClass(CodeGenerator<?> cg)
Given a code generator which has already generated plain Java
code, compile the code, create a class loader, and return the
resulting Java class.
|
Class<?> |
ClassTransformer.getImplementationClass(QueryClassLoader classLoader,
TemplateClassDefinition<?> templateDefinition,
String entireClass,
String materializedClassName) |
Modifier and Type | Method and Description |
---|---|
<T> T |
FragmentContextInterface.getImplementationClass(ClassGenerator<T> cg)
Generates code for a class given a
ClassGenerator ,
and returns a single instance of the generated class. |
<T> T |
FragmentContext.getImplementationClass(ClassGenerator<T> cg)
Generates code for a class given a
ClassGenerator ,
and returns a single instance of the generated class. |
<T> T |
BaseFragmentContext.getImplementationClass(ClassGenerator<T> cg) |
<T> List<T> |
FragmentContextInterface.getImplementationClass(ClassGenerator<T> cg,
int instanceCount)
Generates code for a class given a
ClassGenerator , and returns the
specified number of instances of the generated class. |
<T> List<T> |
FragmentContext.getImplementationClass(ClassGenerator<T> cg,
int instanceCount)
Generates code for a class given a
ClassGenerator , and returns the
specified number of instances of the generated class. |
<T> List<T> |
BaseFragmentContext.getImplementationClass(ClassGenerator<T> cg,
int instanceCount) |
<T> T |
FragmentContextInterface.getImplementationClass(CodeGenerator<T> cg)
Generates code for a class given a
CodeGenerator ,
and returns a single instance of the generated class. |
<T> T |
FragmentContext.getImplementationClass(CodeGenerator<T> cg)
Generates code for a class given a
CodeGenerator ,
and returns a single instance of the generated class. |
<T> T |
BaseFragmentContext.getImplementationClass(CodeGenerator<T> cg) |
<T> List<T> |
FragmentContextInterface.getImplementationClass(CodeGenerator<T> cg,
int instanceCount)
Generates code for a class given a
CodeGenerator , and returns the
specified number of instances of the generated class. |
<T> List<T> |
FragmentContext.getImplementationClass(CodeGenerator<T> cg,
int instanceCount)
Generates code for a class given a
CodeGenerator , and returns the
specified number of instances of the generated class. |
<T> List<T> |
BaseFragmentContext.getImplementationClass(CodeGenerator<T> cg,
int instanceCount) |
Modifier and Type | Method and Description |
---|---|
void |
HashAggregator.setup(HashAggregate hashAggrConfig,
HashTableConfig htConfig,
FragmentContext context,
OperatorContext oContext,
RecordBatch incoming,
HashAggBatch outgoing,
LogicalExpression[] valueExprs,
List<TypedFieldId> valueFieldIds,
TypedFieldId[] keyFieldIds,
VectorContainer outContainer,
int extraRowBytes) |
Modifier and Type | Method and Description |
---|---|
HashTable |
ChainedHashTable.createAndSetupHashTable(TypedFieldId[] outKeyFieldIds,
int numPartitions) |
Modifier and Type | Method and Description |
---|---|
void |
HashJoinBatch.executeBuildPhase() |
int |
HashJoinProbeTemplate.probeAndProject() |
int |
HashJoinProbe.probeAndProject() |
HashJoinProbe |
HashJoinBatch.setupHashJoinProbe() |
void |
HashJoinBatch.setupHashTable() |
Modifier and Type | Method and Description |
---|---|
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) |
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) |
void |
TopNBatch.purgeAndResetPriorityQueue()
Handle schema changes during execution.
|
Modifier and Type | Method and Description |
---|---|
SingleBatchSorter |
ExternalSortBatch.createNewSorter(FragmentContext context,
VectorAccessible batch) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.