|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.FetchRowResult
public class FetchRowResult
FetchRowResult contains row result from a fetch.
Nested Class Summary | |
---|---|
static class |
FetchRowResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
int |
maxRecordsToFetch
See Selector maxRecordsToFetch. |
static Map<FetchRowResult._Fields,FieldMetaData> |
metaDataMap
|
boolean |
moreRecordsToFetch
Are there more Records to fetch based on the Selector provided. |
Row |
row
The row fetched. |
int |
startRecord
See Selector startRecord. |
int |
totalRecords
The total number of records the Selector found. |
Constructor Summary | |
---|---|
FetchRowResult()
|
|
FetchRowResult(FetchRowResult other)
Performs a deep copy on other. |
|
FetchRowResult(Row row,
int startRecord,
int maxRecordsToFetch,
boolean moreRecordsToFetch,
int totalRecords)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(FetchRowResult other)
|
FetchRowResult |
deepCopy()
|
boolean |
equals(FetchRowResult that)
|
boolean |
equals(Object that)
|
FetchRowResult._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
Object |
getFieldValue(FetchRowResult._Fields field)
Get a field's value by field variable. |
int |
getMaxRecordsToFetch()
See Selector maxRecordsToFetch. |
Row |
getRow()
The row fetched. |
int |
getStartRecord()
See Selector startRecord. |
int |
getTotalRecords()
The total number of records the Selector found. |
int |
hashCode()
|
boolean |
isMoreRecordsToFetch()
Are there more Records to fetch based on the Selector provided. |
boolean |
isSet(FetchRowResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetMaxRecordsToFetch()
Returns true if field maxRecordsToFetch is set (has been assigned a value) and false otherwise |
boolean |
isSetMoreRecordsToFetch()
Returns true if field moreRecordsToFetch is set (has been assigned a value) and false otherwise |
boolean |
isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise |
boolean |
isSetStartRecord()
Returns true if field startRecord is set (has been assigned a value) and false otherwise |
boolean |
isSetTotalRecords()
Returns true if field totalRecords is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(FetchRowResult._Fields field,
Object value)
Set a field's value by field variable. |
FetchRowResult |
setMaxRecordsToFetch(int maxRecordsToFetch)
See Selector maxRecordsToFetch. |
void |
setMaxRecordsToFetchIsSet(boolean value)
|
FetchRowResult |
setMoreRecordsToFetch(boolean moreRecordsToFetch)
Are there more Records to fetch based on the Selector provided. |
void |
setMoreRecordsToFetchIsSet(boolean value)
|
FetchRowResult |
setRow(Row row)
The row fetched. |
void |
setRowIsSet(boolean value)
|
FetchRowResult |
setStartRecord(int startRecord)
See Selector startRecord. |
void |
setStartRecordIsSet(boolean value)
|
FetchRowResult |
setTotalRecords(int totalRecords)
The total number of records the Selector found. |
void |
setTotalRecordsIsSet(boolean value)
|
String |
toString()
|
void |
unsetMaxRecordsToFetch()
|
void |
unsetMoreRecordsToFetch()
|
void |
unsetRow()
|
void |
unsetStartRecord()
|
void |
unsetTotalRecords()
|
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 Row row
public int startRecord
public int maxRecordsToFetch
public boolean moreRecordsToFetch
public int totalRecords
public static final Map<FetchRowResult._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public FetchRowResult()
public FetchRowResult(Row row, int startRecord, int maxRecordsToFetch, boolean moreRecordsToFetch, int totalRecords)
public FetchRowResult(FetchRowResult other)
Method Detail |
---|
public FetchRowResult deepCopy()
deepCopy
in interface TBase<FetchRowResult,FetchRowResult._Fields>
public void clear()
TBase
clear
in interface TBase<FetchRowResult,FetchRowResult._Fields>
public Row getRow()
public FetchRowResult setRow(Row row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getStartRecord()
public FetchRowResult setStartRecord(int startRecord)
public void unsetStartRecord()
public boolean isSetStartRecord()
public void setStartRecordIsSet(boolean value)
public int getMaxRecordsToFetch()
public FetchRowResult setMaxRecordsToFetch(int maxRecordsToFetch)
public void unsetMaxRecordsToFetch()
public boolean isSetMaxRecordsToFetch()
public void setMaxRecordsToFetchIsSet(boolean value)
public boolean isMoreRecordsToFetch()
public FetchRowResult setMoreRecordsToFetch(boolean moreRecordsToFetch)
public void unsetMoreRecordsToFetch()
public boolean isSetMoreRecordsToFetch()
public void setMoreRecordsToFetchIsSet(boolean value)
public int getTotalRecords()
public FetchRowResult setTotalRecords(int totalRecords)
public void unsetTotalRecords()
public boolean isSetTotalRecords()
public void setTotalRecordsIsSet(boolean value)
public void setFieldValue(FetchRowResult._Fields field, Object value)
TBase
setFieldValue
in interface TBase<FetchRowResult,FetchRowResult._Fields>
public Object getFieldValue(FetchRowResult._Fields field)
TBase
getFieldValue
in interface TBase<FetchRowResult,FetchRowResult._Fields>
public boolean isSet(FetchRowResult._Fields field)
isSet
in interface TBase<FetchRowResult,FetchRowResult._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(FetchRowResult that)
public int hashCode()
hashCode
in class Object
public int compareTo(FetchRowResult other)
compareTo
in interface Comparable<FetchRowResult>
public FetchRowResult._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<FetchRowResult,FetchRowResult._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<FetchRowResult,FetchRowResult._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<FetchRowResult,FetchRowResult._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 |