|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.FetchRecordResult
public class FetchRecordResult
FetchRecordResult contains rowid of the record and the record result from a fetch.
Nested Class Summary | |
---|---|
static class |
FetchRecordResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<FetchRecordResult._Fields,FieldMetaData> |
metaDataMap
|
Record |
record
The record fetched. |
String |
rowid
The row id of the record being fetched. |
Constructor Summary | |
---|---|
FetchRecordResult()
|
|
FetchRecordResult(FetchRecordResult other)
Performs a deep copy on other. |
|
FetchRecordResult(String rowid,
Record record)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(FetchRecordResult other)
|
FetchRecordResult |
deepCopy()
|
boolean |
equals(FetchRecordResult that)
|
boolean |
equals(Object that)
|
FetchRecordResult._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
Object |
getFieldValue(FetchRecordResult._Fields field)
Get a field's value by field variable. |
Record |
getRecord()
The record fetched. |
String |
getRowid()
The row id of the record being fetched. |
int |
hashCode()
|
boolean |
isSet(FetchRecordResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetRecord()
Returns true if field record is set (has been assigned a value) and false otherwise |
boolean |
isSetRowid()
Returns true if field rowid is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(FetchRecordResult._Fields field,
Object value)
Set a field's value by field variable. |
FetchRecordResult |
setRecord(Record record)
The record fetched. |
void |
setRecordIsSet(boolean value)
|
FetchRecordResult |
setRowid(String rowid)
The row id of the record being fetched. |
void |
setRowidIsSet(boolean value)
|
String |
toString()
|
void |
unsetRecord()
|
void |
unsetRowid()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String rowid
public Record record
public static final Map<FetchRecordResult._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public FetchRecordResult()
public FetchRecordResult(String rowid, Record record)
public FetchRecordResult(FetchRecordResult other)
Method Detail |
---|
public FetchRecordResult deepCopy()
deepCopy
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
public void clear()
TBase
clear
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
public String getRowid()
public FetchRecordResult setRowid(String rowid)
public void unsetRowid()
public boolean isSetRowid()
public void setRowidIsSet(boolean value)
public Record getRecord()
public FetchRecordResult setRecord(Record record)
public void unsetRecord()
public boolean isSetRecord()
public void setRecordIsSet(boolean value)
public void setFieldValue(FetchRecordResult._Fields field, Object value)
TBase
setFieldValue
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
public Object getFieldValue(FetchRecordResult._Fields field)
TBase
getFieldValue
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
public boolean isSet(FetchRecordResult._Fields field)
isSet
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(FetchRecordResult that)
public int hashCode()
hashCode
in class Object
public int compareTo(FetchRecordResult other)
compareTo
in interface Comparable<FetchRecordResult>
public FetchRecordResult._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<FetchRecordResult,FetchRecordResult._Fields>
oprot
- Output protocol
TException
public String toString()
toString
in class Object
public void validate() throws TException
TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |