public class Value extends com.facebook.thrift.TUnion<Value>
| Modifier and Type | Field and Description |
|---|---|
static int |
BVAL |
static int |
DTVAL |
static int |
DUVAL |
static int |
DVAL |
static int |
EVAL |
static int |
FVAL |
static int |
GGVAL |
static int |
GVAL |
static int |
IVAL |
static int |
LVAL |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
static int |
MVAL |
static int |
NVAL |
static int |
PVAL |
static int |
SVAL |
static int |
TVAL |
static int |
UVAL |
static int |
VVAL |
| Constructor and Description |
|---|
Value() |
Value(int setField,
Object __value) |
Value(Value other) |
| Modifier and Type | Method and Description |
|---|---|
static Value |
bVal(boolean __value) |
protected void |
checkType(short setField,
Object __value)
Generic implementation using reflection, codegen can override this in a more efficient way.
|
Value |
deepCopy()
Returns a copy of `this`.
|
static Value |
dtVal(DateTime __value) |
static Value |
duVal(Duration __value) |
static Value |
dVal(Date __value) |
boolean |
equals(Object other) |
boolean |
equals(Value other) |
static Value |
eVal(Edge __value) |
static Value |
fVal(double __value) |
DateTime |
getDtVal() |
Duration |
getDuVal() |
Date |
getDVal() |
Edge |
getEVal() |
protected com.facebook.thrift.protocol.TField |
getFieldDesc(int setField) |
double |
getFVal() |
Geography |
getGgVal() |
DataSet |
getGVal() |
long |
getIVal() |
NList |
getLVal() |
protected Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
getMetaDataMap() |
NMap |
getMVal() |
NullType |
getNVal() |
Path |
getPVal() |
protected com.facebook.thrift.protocol.TStruct |
getStructDesc() |
byte[] |
getSVal() |
Time |
getTVal() |
NSet |
getUVal() |
Vertex |
getVVal() |
static Value |
ggVal(Geography __value) |
static Value |
gVal(DataSet __value) |
int |
hashCode() |
boolean |
isBVal() |
static Value |
iVal(long __value) |
static Value |
lVal(NList __value) |
static Value |
mVal(NMap __value) |
static Value |
nVal(NullType __value) |
static Value |
pVal(Path __value) |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
protected Object |
readValue(com.facebook.thrift.protocol.TProtocol iprot,
com.facebook.thrift.protocol.TField __field)
Implementation should be generated to read the right stuff from the wire based on the field
header.
|
void |
setBVal(boolean __value) |
void |
setDtVal(DateTime __value) |
void |
setDuVal(Duration __value) |
void |
setDVal(Date __value) |
void |
setEVal(Edge __value) |
void |
setFVal(double __value) |
void |
setGgVal(Geography __value) |
void |
setGVal(DataSet __value) |
void |
setIVal(long __value) |
void |
setLVal(NList __value) |
void |
setMVal(NMap __value) |
void |
setNVal(NullType __value) |
void |
setPVal(Path __value) |
void |
setSVal(byte[] __value) |
void |
setTVal(Time __value) |
void |
setUVal(NSet __value) |
void |
setVVal(Vertex __value) |
static Value |
sVal(byte[] __value) |
static Value |
tVal(Time __value) |
static Value |
uVal(NSet __value) |
static Value |
vVal(Vertex __value) |
protected void |
writeValue(com.facebook.thrift.protocol.TProtocol oprot,
short setField,
Object __value) |
public static final int NVAL
public static final int BVAL
public static final int IVAL
public static final int FVAL
public static final int SVAL
public static final int DVAL
public static final int TVAL
public static final int DTVAL
public static final int VVAL
public static final int EVAL
public static final int PVAL
public static final int LVAL
public static final int MVAL
public static final int UVAL
public static final int GVAL
public static final int GGVAL
public static final int DUVAL
public Value()
public Value(int setField,
Object __value)
public Value(Value other)
public Value deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasedeepCopy in class com.facebook.thrift.TUnion<Value>public static Value bVal(boolean __value)
public static Value iVal(long __value)
public static Value fVal(double __value)
public static Value sVal(byte[] __value)
protected void checkType(short setField,
Object __value)
throws ClassCastException
com.facebook.thrift.TUnioncheckType in class com.facebook.thrift.TUnion<Value>ClassCastExceptionpublic void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseread in class com.facebook.thrift.TUnion<Value>iprot - Input protocolcom.facebook.thrift.TExceptionprotected Object readValue(com.facebook.thrift.protocol.TProtocol iprot, com.facebook.thrift.protocol.TField __field) throws com.facebook.thrift.TException
com.facebook.thrift.TUnionreadValue in class com.facebook.thrift.TUnion<Value>com.facebook.thrift.TExceptionprotected void writeValue(com.facebook.thrift.protocol.TProtocol oprot,
short setField,
Object __value)
throws com.facebook.thrift.TException
writeValue in class com.facebook.thrift.TUnion<Value>com.facebook.thrift.TExceptionprotected com.facebook.thrift.protocol.TField getFieldDesc(int setField)
getFieldDesc in class com.facebook.thrift.TUnion<Value>protected com.facebook.thrift.protocol.TStruct getStructDesc()
getStructDesc in class com.facebook.thrift.TUnion<Value>protected Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> getMetaDataMap()
getMetaDataMap in class com.facebook.thrift.TUnion<Value>public boolean isBVal()
public void setBVal(boolean __value)
public long getIVal()
public void setIVal(long __value)
public double getFVal()
public void setFVal(double __value)
public byte[] getSVal()
public void setSVal(byte[] __value)
public Date getDVal()
public void setDVal(Date __value)
public Time getTVal()
public void setTVal(Time __value)
public DateTime getDtVal()
public void setDtVal(DateTime __value)
public Vertex getVVal()
public void setVVal(Vertex __value)
public Edge getEVal()
public void setEVal(Edge __value)
public Path getPVal()
public void setPVal(Path __value)
public NList getLVal()
public void setLVal(NList __value)
public NMap getMVal()
public void setMVal(NMap __value)
public NSet getUVal()
public void setUVal(NSet __value)
public DataSet getGVal()
public void setGVal(DataSet __value)
public Geography getGgVal()
public void setGgVal(Geography __value)
public Duration getDuVal()
public void setDuVal(Duration __value)
public boolean equals(Value other)
Copyright © 2022. All rights reserved.