public class DynamicValueVectorExpression extends VectorExpression
| Modifier and Type | Field and Description |
|---|---|
protected long |
longValue |
childExpressions, inputColumnNum, inputDataTypePhysicalVariations, inputTypeInfos, outputColumnNum, outputDataTypePhysicalVariation, outputTypeInfo| Constructor and Description |
|---|
DynamicValueVectorExpression() |
DynamicValueVectorExpression(int outputColumnNum,
TypeInfo typeInfo,
DynamicValue dynamicValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(VectorizedRowBatch vrg)
This is the primary method to implement expression logic.
|
byte[] |
getBytesValue() |
HiveDecimal |
getDecimalValue() |
VectorExpressionDescriptor.Descriptor |
getDescriptor() |
double |
getDoubleValue() |
HiveIntervalDayTime |
getIntervalDayTimeValue() |
long |
getLongValue() |
Timestamp |
getTimestampValue() |
String |
getTypeString() |
void |
init(org.apache.hadoop.conf.Configuration conf) |
void |
setBytesValue(byte[] bytesValue) |
void |
setDecimalValue(HiveDecimal decimalValue) |
void |
setDoubleValue(double doubleValue) |
void |
setIntervalDayTimeValue(HiveIntervalDayTime intervalDayTimeValue) |
void |
setLongValue(long longValue) |
void |
setTimestampValue(Timestamp timestampValue) |
String |
vectorExpressionParameters() |
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, doTransientInit, doTransientInit, evaluateChildren, getChildExpressions, getChildExpressionsForTransientInit, getColumnParamString, getDoubleValueParamString, getInputDataTypePhysicalVariations, getInputTypeInfos, getLongValueParamString, getOutputColumnNum, getOutputColumnVectorType, getOutputDataTypePhysicalVariation, getOutputTypeInfo, getParamTypeString, getTypeName, setChildExpressions, setInputDataTypePhysicalVariations, setInputTypeInfos, setOutputDataTypePhysicalVariation, setOutputTypeInfo, shouldConvertDecimal64ToDecimal, supportsCheckedExecution, toString, transientInitpublic DynamicValueVectorExpression()
public DynamicValueVectorExpression(int outputColumnNum,
TypeInfo typeInfo,
DynamicValue dynamicValue)
throws HiveException
HiveExceptionpublic void init(org.apache.hadoop.conf.Configuration conf)
init in class VectorExpressionpublic void evaluate(VectorizedRowBatch vrg)
VectorExpressionevaluate in class VectorExpressionpublic long getLongValue()
public void setLongValue(long longValue)
public double getDoubleValue()
public void setDoubleValue(double doubleValue)
public byte[] getBytesValue()
public void setBytesValue(byte[] bytesValue)
public void setDecimalValue(HiveDecimal decimalValue)
public HiveDecimal getDecimalValue()
public void setTimestampValue(Timestamp timestampValue)
public Timestamp getTimestampValue()
public void setIntervalDayTimeValue(HiveIntervalDayTime intervalDayTimeValue)
public HiveIntervalDayTime getIntervalDayTimeValue()
public String getTypeString()
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor in class VectorExpressionpublic String vectorExpressionParameters()
vectorExpressionParameters in class VectorExpressionCopyright © 2024 The Apache Software Foundation. All rights reserved.