public class DynamicValueVectorExpression extends VectorExpression
VectorExpression.Type
Modifier and Type | Field and Description |
---|---|
protected long |
longValue |
childExpressions, inputTypes, outputType
Constructor and Description |
---|
DynamicValueVectorExpression() |
DynamicValueVectorExpression(int outputColumn,
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() |
DynamicValue |
getDynamicValue() |
org.apache.hadoop.hive.common.type.HiveIntervalDayTime |
getIntervalDayTimeValue() |
long |
getLongValue() |
int |
getOutputColumn()
Returns the index of the output column in the array
of column vectors.
|
Timestamp |
getTimestampValue() |
TypeInfo |
getTypeInfo() |
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 |
setDynamicValue(DynamicValue dynamicValue) |
void |
setIntervalDayTimeValue(org.apache.hadoop.hive.common.type.HiveIntervalDayTime intervalDayTimeValue) |
void |
setLongValue(long longValue) |
void |
setOutputColumn(int outputColumn) |
void |
setTimestampValue(Timestamp timestampValue) |
void |
setTypeInfo(TypeInfo typeInfo) |
displayArrayOfUtf8ByteArrays, displayUtf8Bytes, evaluateChildren, getChildExpressions, getInputTypes, getOutputType, setChildExpressions, setInputTypes, setOutputType, toString, vectorExpressionParameters
public DynamicValueVectorExpression()
public DynamicValueVectorExpression(int outputColumn, TypeInfo typeInfo, DynamicValue dynamicValue)
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 int getOutputColumn()
VectorExpression
getOutputColumn
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 void setOutputColumn(int outputColumn)
public VectorExpressionDescriptor.Descriptor getDescriptor()
getDescriptor
in class VectorExpression
public DynamicValue getDynamicValue()
public void setDynamicValue(DynamicValue dynamicValue)
public TypeInfo getTypeInfo()
public void setTypeInfo(TypeInfo typeInfo)
Copyright © 2021 The Apache Software Foundation. All rights reserved.