public class HiveObjectRef extends Object implements org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
HiveObjectRef._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<HiveObjectRef._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
HiveObjectRef() |
HiveObjectRef(HiveObjectRef other)
Performs a deep copy on other.
|
HiveObjectRef(HiveObjectType objectType,
String dbName,
String objectName,
List<String> partValues,
String columnName) |
Modifier and Type | Method and Description |
---|---|
void |
addToPartValues(String elem) |
void |
clear() |
int |
compareTo(HiveObjectRef other) |
HiveObjectRef |
deepCopy() |
boolean |
equals(HiveObjectRef that) |
boolean |
equals(Object that) |
HiveObjectRef._Fields |
fieldForId(int fieldId) |
String |
getColumnName() |
String |
getDbName() |
Object |
getFieldValue(HiveObjectRef._Fields field) |
String |
getObjectName() |
HiveObjectType |
getObjectType() |
List<String> |
getPartValues() |
Iterator<String> |
getPartValuesIterator() |
int |
getPartValuesSize() |
int |
hashCode() |
boolean |
isSet(HiveObjectRef._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumnName()
Returns true if field columnName is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetObjectName()
Returns true if field objectName is set (has been assigned a value) and false otherwise
|
boolean |
isSetObjectType()
Returns true if field objectType is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartValues()
Returns true if field partValues is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setColumnName(String columnName) |
void |
setColumnNameIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(HiveObjectRef._Fields field,
Object value) |
void |
setObjectName(String objectName) |
void |
setObjectNameIsSet(boolean value) |
void |
setObjectType(HiveObjectType objectType) |
void |
setObjectTypeIsSet(boolean value) |
void |
setPartValues(List<String> partValues) |
void |
setPartValuesIsSet(boolean value) |
String |
toString() |
void |
unsetColumnName() |
void |
unsetDbName() |
void |
unsetObjectName() |
void |
unsetObjectType() |
void |
unsetPartValues() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<HiveObjectRef._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public HiveObjectRef()
public HiveObjectRef(HiveObjectType objectType, String dbName, String objectName, List<String> partValues, String columnName)
public HiveObjectRef(HiveObjectRef other)
public HiveObjectRef deepCopy()
deepCopy
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
public HiveObjectType getObjectType()
HiveObjectType
public void setObjectType(HiveObjectType objectType)
HiveObjectType
public void unsetObjectType()
public boolean isSetObjectType()
public void setObjectTypeIsSet(boolean value)
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getObjectName()
public void setObjectName(String objectName)
public void unsetObjectName()
public boolean isSetObjectName()
public void setObjectNameIsSet(boolean value)
public int getPartValuesSize()
public void addToPartValues(String elem)
public void unsetPartValues()
public boolean isSetPartValues()
public void setPartValuesIsSet(boolean value)
public String getColumnName()
public void setColumnName(String columnName)
public void unsetColumnName()
public boolean isSetColumnName()
public void setColumnNameIsSet(boolean value)
public void setFieldValue(HiveObjectRef._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
public Object getFieldValue(HiveObjectRef._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
public boolean isSet(HiveObjectRef._Fields field)
isSet
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
public boolean equals(HiveObjectRef that)
public int compareTo(HiveObjectRef other)
compareTo
in interface Comparable<HiveObjectRef>
public HiveObjectRef._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<HiveObjectRef,HiveObjectRef._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.