|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.Row
public class Row
Rows contain a list of records.
Nested Class Summary | |
---|---|
static class |
Row._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
String |
id
The row id. |
static Map<Row._Fields,FieldMetaData> |
metaDataMap
|
List<Record> |
records
The list records within the row. |
Constructor Summary | |
---|---|
Row()
|
|
Row(Row other)
Performs a deep copy on other. |
|
Row(String id,
List<Record> records)
|
Method Summary | |
---|---|
void |
addToRecords(Record elem)
|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(Row other)
|
Row |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(Row that)
|
Row._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
Object |
getFieldValue(Row._Fields field)
Get a field's value by field variable. |
String |
getId()
The row id. |
List<Record> |
getRecords()
The list records within the row. |
Iterator<Record> |
getRecordsIterator()
|
int |
getRecordsSize()
|
int |
hashCode()
|
boolean |
isSet(Row._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise |
boolean |
isSetRecords()
Returns true if field records is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(Row._Fields field,
Object value)
Set a field's value by field variable. |
Row |
setId(String id)
The row id. |
void |
setIdIsSet(boolean value)
|
Row |
setRecords(List<Record> records)
The list records within the row. |
void |
setRecordsIsSet(boolean value)
|
String |
toString()
|
void |
unsetId()
|
void |
unsetRecords()
|
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 id
public List<Record> records
public static final Map<Row._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public Row()
public Row(String id, List<Record> records)
public Row(Row other)
Method Detail |
---|
public Row deepCopy()
deepCopy
in interface TBase<Row,Row._Fields>
public void clear()
TBase
clear
in interface TBase<Row,Row._Fields>
public String getId()
public Row setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public int getRecordsSize()
public Iterator<Record> getRecordsIterator()
public void addToRecords(Record elem)
public List<Record> getRecords()
public Row setRecords(List<Record> records)
public void unsetRecords()
public boolean isSetRecords()
public void setRecordsIsSet(boolean value)
public void setFieldValue(Row._Fields field, Object value)
TBase
setFieldValue
in interface TBase<Row,Row._Fields>
public Object getFieldValue(Row._Fields field)
TBase
getFieldValue
in interface TBase<Row,Row._Fields>
public boolean isSet(Row._Fields field)
isSet
in interface TBase<Row,Row._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Row that)
public int hashCode()
hashCode
in class Object
public int compareTo(Row other)
compareTo
in interface Comparable<Row>
public Row._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<Row,Row._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<Row,Row._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<Row,Row._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 |