public class DynamicValue extends Object implements org.apache.hadoop.hive.ql.io.sarg.LiteralDelegate, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DynamicValue.NoDynamicValuesException
An exception that indicates that the dynamic values are (intentionally)
not available in this context.
|
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
static String |
DYNAMIC_VALUE_REGISTRY_CACHE_KEY |
protected String |
id |
protected Object |
val |
Constructor and Description |
---|
DynamicValue(String id,
TypeInfo typeInfo) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
String |
getId() |
Object |
getJavaValue() |
Object |
getLiteral() |
PrimitiveObjectInspector |
getObjectInspector() |
TypeInfo |
getTypeInfo() |
Object |
getValue() |
Object |
getWritableValue() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
void |
setId(String id) |
void |
setObjectInspector(PrimitiveObjectInspector objectInspector) |
void |
setTypeInfo(TypeInfo typeInfo) |
String |
toString() |
public static final String DYNAMIC_VALUE_REGISTRY_CACHE_KEY
protected transient org.apache.hadoop.conf.Configuration conf
protected String id
protected transient Object val
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public TypeInfo getTypeInfo()
public void setTypeInfo(TypeInfo typeInfo)
public PrimitiveObjectInspector getObjectInspector()
public void setObjectInspector(PrimitiveObjectInspector objectInspector)
public String getId()
getId
in interface org.apache.hadoop.hive.ql.io.sarg.LiteralDelegate
public void setId(String id)
public Object getLiteral()
getLiteral
in interface org.apache.hadoop.hive.ql.io.sarg.LiteralDelegate
public Object getJavaValue()
public Object getWritableValue()
public Object getValue()
Copyright © 2022 The Apache Software Foundation. All rights reserved.