@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class AddPrimaryKeyRequest extends Object implements org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>, Serializable, Cloneable, Comparable<AddPrimaryKeyRequest>
Modifier and Type | Class and Description |
---|---|
static class |
AddPrimaryKeyRequest._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<AddPrimaryKeyRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
AddPrimaryKeyRequest() |
AddPrimaryKeyRequest(AddPrimaryKeyRequest other)
Performs a deep copy on other.
|
AddPrimaryKeyRequest(List<SQLPrimaryKey> primaryKeyCols) |
Modifier and Type | Method and Description |
---|---|
void |
addToPrimaryKeyCols(SQLPrimaryKey elem) |
void |
clear() |
int |
compareTo(AddPrimaryKeyRequest other) |
AddPrimaryKeyRequest |
deepCopy() |
boolean |
equals(AddPrimaryKeyRequest that) |
boolean |
equals(Object that) |
AddPrimaryKeyRequest._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(AddPrimaryKeyRequest._Fields field) |
List<SQLPrimaryKey> |
getPrimaryKeyCols() |
Iterator<SQLPrimaryKey> |
getPrimaryKeyColsIterator() |
int |
getPrimaryKeyColsSize() |
int |
hashCode() |
boolean |
isSet(AddPrimaryKeyRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrimaryKeyCols()
Returns true if field primaryKeyCols is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(AddPrimaryKeyRequest._Fields field,
Object value) |
void |
setPrimaryKeyCols(List<SQLPrimaryKey> primaryKeyCols) |
void |
setPrimaryKeyColsIsSet(boolean value) |
String |
toString() |
void |
unsetPrimaryKeyCols() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<AddPrimaryKeyRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public AddPrimaryKeyRequest()
public AddPrimaryKeyRequest(List<SQLPrimaryKey> primaryKeyCols)
public AddPrimaryKeyRequest(AddPrimaryKeyRequest other)
public AddPrimaryKeyRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>
public int getPrimaryKeyColsSize()
public Iterator<SQLPrimaryKey> getPrimaryKeyColsIterator()
public void addToPrimaryKeyCols(SQLPrimaryKey elem)
public List<SQLPrimaryKey> getPrimaryKeyCols()
public void setPrimaryKeyCols(List<SQLPrimaryKey> primaryKeyCols)
public void unsetPrimaryKeyCols()
public boolean isSetPrimaryKeyCols()
public void setPrimaryKeyColsIsSet(boolean value)
public void setFieldValue(AddPrimaryKeyRequest._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>
public Object getFieldValue(AddPrimaryKeyRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>
public boolean isSet(AddPrimaryKeyRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>
public boolean equals(AddPrimaryKeyRequest that)
public int compareTo(AddPrimaryKeyRequest other)
compareTo
in interface Comparable<AddPrimaryKeyRequest>
public AddPrimaryKeyRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<AddPrimaryKeyRequest,AddPrimaryKeyRequest._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<AddPrimaryKeyRequest,AddPrimaryKeyRequest._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016 The Apache Software Foundation. All rights reserved.