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