org.apache.hive.service.cli.thrift
Class TGetColumnsReq

java.lang.Object
  extended by org.apache.hive.service.cli.thrift.TGetColumnsReq
All Implemented Interfaces:
Serializable, Cloneable, Comparable<TGetColumnsReq>, org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>

public class TGetColumnsReq
extends Object
implements org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class TGetColumnsReq._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<TGetColumnsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
TGetColumnsReq()
           
TGetColumnsReq(TGetColumnsReq other)
          Performs a deep copy on other.
TGetColumnsReq(TSessionHandle sessionHandle)
           
 
Method Summary
 void clear()
           
 int compareTo(TGetColumnsReq other)
           
 TGetColumnsReq deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(TGetColumnsReq that)
           
 TGetColumnsReq._Fields fieldForId(int fieldId)
           
 String getCatalogName()
           
 String getColumnName()
           
 Object getFieldValue(TGetColumnsReq._Fields field)
           
 String getSchemaName()
           
 TSessionHandle getSessionHandle()
           
 String getTableName()
           
 int hashCode()
           
 boolean isSet(TGetColumnsReq._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCatalogName()
          Returns true if field catalogName 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 isSetSchemaName()
          Returns true if field schemaName is set (has been assigned a value) and false otherwise
 boolean isSetSessionHandle()
          Returns true if field sessionHandle is set (has been assigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setCatalogName(String catalogName)
           
 void setCatalogNameIsSet(boolean value)
           
 void setColumnName(String columnName)
           
 void setColumnNameIsSet(boolean value)
           
 void setFieldValue(TGetColumnsReq._Fields field, Object value)
           
 void setSchemaName(String schemaName)
           
 void setSchemaNameIsSet(boolean value)
           
 void setSessionHandle(TSessionHandle sessionHandle)
           
 void setSessionHandleIsSet(boolean value)
           
 void setTableName(String tableName)
           
 void setTableNameIsSet(boolean value)
           
 String toString()
           
 void unsetCatalogName()
           
 void unsetColumnName()
           
 void unsetSchemaName()
           
 void unsetSessionHandle()
           
 void unsetTableName()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final Map<TGetColumnsReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

TGetColumnsReq

public TGetColumnsReq()

TGetColumnsReq

public TGetColumnsReq(TSessionHandle sessionHandle)

TGetColumnsReq

public TGetColumnsReq(TGetColumnsReq other)
Performs a deep copy on other.

Method Detail

deepCopy

public TGetColumnsReq deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>

getSessionHandle

public TSessionHandle getSessionHandle()

setSessionHandle

public void setSessionHandle(TSessionHandle sessionHandle)

unsetSessionHandle

public void unsetSessionHandle()

isSetSessionHandle

public boolean isSetSessionHandle()
Returns true if field sessionHandle is set (has been assigned a value) and false otherwise


setSessionHandleIsSet

public void setSessionHandleIsSet(boolean value)

getCatalogName

public String getCatalogName()

setCatalogName

public void setCatalogName(String catalogName)

unsetCatalogName

public void unsetCatalogName()

isSetCatalogName

public boolean isSetCatalogName()
Returns true if field catalogName is set (has been assigned a value) and false otherwise


setCatalogNameIsSet

public void setCatalogNameIsSet(boolean value)

getSchemaName

public String getSchemaName()

setSchemaName

public void setSchemaName(String schemaName)

unsetSchemaName

public void unsetSchemaName()

isSetSchemaName

public boolean isSetSchemaName()
Returns true if field schemaName is set (has been assigned a value) and false otherwise


setSchemaNameIsSet

public void setSchemaNameIsSet(boolean value)

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

unsetTableName

public void unsetTableName()

isSetTableName

public boolean isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getColumnName

public String getColumnName()

setColumnName

public void setColumnName(String columnName)

unsetColumnName

public void unsetColumnName()

isSetColumnName

public boolean isSetColumnName()
Returns true if field columnName is set (has been assigned a value) and false otherwise


setColumnNameIsSet

public void setColumnNameIsSet(boolean value)

setFieldValue

public void setFieldValue(TGetColumnsReq._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>

getFieldValue

public Object getFieldValue(TGetColumnsReq._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>

isSet

public boolean isSet(TGetColumnsReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(TGetColumnsReq that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(TGetColumnsReq other)
Specified by:
compareTo in interface Comparable<TGetColumnsReq>

fieldForId

public TGetColumnsReq._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<TGetColumnsReq,TGetColumnsReq._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation