| Package | Description |
|---|---|
| org.apache.drill.exec.expr.annotations | |
| org.apache.drill.exec.expr.fn | |
| org.apache.drill.exec.expr.fn.output |
| Modifier and Type | Method and Description |
|---|---|
TypeProtos.MajorType |
FunctionTemplate.ReturnType.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
static TypeProtos.DataMode |
FunctionUtils.getReturnTypeDataMode(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Calculates return type data mode based on give logical expressions.
|
| Constructor and Description |
|---|
DrillComplexWriterAggFuncHolder(FunctionAttributes functionAttributes,
FunctionInitializer initializer) |
DrillComplexWriterFuncHolder(FunctionAttributes functionAttributes,
FunctionInitializer initializer) |
DrillFuncHolder(FunctionAttributes attributes,
FunctionInitializer initializer) |
DrillSimpleFuncHolder(FunctionAttributes functionAttributes,
FunctionInitializer initializer) |
| Modifier and Type | Method and Description |
|---|---|
TypeProtos.MajorType |
ConcatReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Defines function return type and sets precision if it can be calculated.
|
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalAddReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
This return type is used by add and subtract functions for decimal data type.
|
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalAggReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalCastReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalDivScaleReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Return type is used by divide functions for decimal data type.
|
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalMaxScaleReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalModScaleReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Return type is used by divide functions for decimal data type.
|
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalSetScaleReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalSumAggReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalAvgAggReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalSumScaleReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
DecimalReturnTypeInference.DecimalZeroScaleReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Return type is used for functions where we need to remove the scale part.
|
TypeProtos.MajorType |
DefaultReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Calculates return type and its nullability.
|
TypeProtos.MajorType |
PadReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Defines function return type and sets precision if it pad length parameter is int expression.
|
TypeProtos.MajorType |
ReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes) |
TypeProtos.MajorType |
SameInOutLengthReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Defines function return type and sets precision and scale if input type has them.
|
TypeProtos.MajorType |
StringCastReturnTypeInference.getType(List<LogicalExpression> logicalExpressions,
FunctionAttributes attributes)
Defines function return type and sets cast length as type precision
if cast length is simple long expression.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.