public class Order extends Object implements org.apache.thrift.TBase<Order,Order._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Order._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<Order._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Order() |
Order(Order other)
Performs a deep copy on other.
|
Order(String col,
int order) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Order other) |
Order |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Order that) |
Order._Fields |
fieldForId(int fieldId) |
String |
getCol() |
Object |
getFieldValue(Order._Fields field) |
int |
getOrder() |
int |
hashCode() |
boolean |
isSet(Order._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCol()
Returns true if field col is set (has been assigned a value) and false otherwise
|
boolean |
isSetOrder()
Returns true if field order is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCol(String col) |
void |
setColIsSet(boolean value) |
void |
setFieldValue(Order._Fields field,
Object value) |
void |
setOrder(int order) |
void |
setOrderIsSet(boolean value) |
String |
toString() |
void |
unsetCol() |
void |
unsetOrder() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Order._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Order()
public Order(String col, int order)
public Order(Order other)
public Order deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Order,Order._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Order,Order._Fields>
public String getCol()
public void setCol(String col)
public void unsetCol()
public boolean isSetCol()
public void setColIsSet(boolean value)
public int getOrder()
public void setOrder(int order)
public void unsetOrder()
public boolean isSetOrder()
public void setOrderIsSet(boolean value)
public void setFieldValue(Order._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Order,Order._Fields>
public Object getFieldValue(Order._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Order,Order._Fields>
public boolean isSet(Order._Fields field)
isSet
in interface org.apache.thrift.TBase<Order,Order._Fields>
public boolean equals(Order that)
public int compareTo(Order other)
compareTo
in interface Comparable<Order>
public Order._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Order,Order._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Order,Order._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<Order,Order._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.