public class RDF_Decimal extends Object implements org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
RDF_Decimal._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<RDF_Decimal._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
scale |
long |
value |
Constructor and Description |
---|
RDF_Decimal() |
RDF_Decimal(long value,
int scale) |
RDF_Decimal(RDF_Decimal other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(RDF_Decimal other) |
RDF_Decimal |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RDF_Decimal that) |
RDF_Decimal._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(RDF_Decimal._Fields field) |
int |
getScale() |
long |
getValue() |
int |
hashCode() |
boolean |
isSet(RDF_Decimal._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetScale()
Returns true if field scale is set (has been assigned a value) and false otherwise
|
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(RDF_Decimal._Fields field,
Object value) |
RDF_Decimal |
setScale(int scale) |
void |
setScaleIsSet(boolean value) |
RDF_Decimal |
setValue(long value) |
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetScale() |
void |
unsetValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long value
public int scale
public static final Map<RDF_Decimal._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RDF_Decimal()
public RDF_Decimal(long value, int scale)
public RDF_Decimal(RDF_Decimal other)
public RDF_Decimal deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
public long getValue()
public RDF_Decimal setValue(long value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public int getScale()
public RDF_Decimal setScale(int scale)
public void unsetScale()
public boolean isSetScale()
public void setScaleIsSet(boolean value)
public void setFieldValue(RDF_Decimal._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
public Object getFieldValue(RDF_Decimal._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
public boolean isSet(RDF_Decimal._Fields field)
isSet
in interface org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
public boolean equals(RDF_Decimal that)
public int compareTo(RDF_Decimal other)
compareTo
in interface Comparable<RDF_Decimal>
public RDF_Decimal._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RDF_Decimal,RDF_Decimal._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<RDF_Decimal,RDF_Decimal._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Licenced under the Apache License, Version 2.0