|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.Record
public class Record
Records contain a list of columns, multiple columns with the same name are allowed.
Nested Class Summary | |
---|---|
static class |
Record._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
List<Column> |
columns
A list of columns, multiple columns with the same name are allowed. |
String |
family
The family in which this record resides. |
static Map<Record._Fields,FieldMetaData> |
metaDataMap
|
String |
recordId
Record id uniquely identifies a record within a single row. |
Constructor Summary | |
---|---|
Record()
|
|
Record(Record other)
Performs a deep copy on other. |
|
Record(String recordId,
String family,
List<Column> columns)
|
Method Summary | |
---|---|
void |
addToColumns(Column elem)
|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(Record other)
|
Record |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(Record that)
|
Record._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
List<Column> |
getColumns()
A list of columns, multiple columns with the same name are allowed. |
Iterator<Column> |
getColumnsIterator()
|
int |
getColumnsSize()
|
String |
getFamily()
The family in which this record resides. |
Object |
getFieldValue(Record._Fields field)
Get a field's value by field variable. |
String |
getRecordId()
Record id uniquely identifies a record within a single row. |
int |
hashCode()
|
boolean |
isSet(Record._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise |
boolean |
isSetFamily()
Returns true if field family is set (has been assigned a value) and false otherwise |
boolean |
isSetRecordId()
Returns true if field recordId is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
Record |
setColumns(List<Column> columns)
A list of columns, multiple columns with the same name are allowed. |
void |
setColumnsIsSet(boolean value)
|
Record |
setFamily(String family)
The family in which this record resides. |
void |
setFamilyIsSet(boolean value)
|
void |
setFieldValue(Record._Fields field,
Object value)
Set a field's value by field variable. |
Record |
setRecordId(String recordId)
Record id uniquely identifies a record within a single row. |
void |
setRecordIdIsSet(boolean value)
|
String |
toString()
|
void |
unsetColumns()
|
void |
unsetFamily()
|
void |
unsetRecordId()
|
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 recordId
public String family
public List<Column> columns
public static final Map<Record._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public Record()
public Record(String recordId, String family, List<Column> columns)
public Record(Record other)
Method Detail |
---|
public Record deepCopy()
deepCopy
in interface TBase<Record,Record._Fields>
public void clear()
TBase
clear
in interface TBase<Record,Record._Fields>
public String getRecordId()
public Record setRecordId(String recordId)
public void unsetRecordId()
public boolean isSetRecordId()
public void setRecordIdIsSet(boolean value)
public String getFamily()
public Record setFamily(String family)
public void unsetFamily()
public boolean isSetFamily()
public void setFamilyIsSet(boolean value)
public int getColumnsSize()
public Iterator<Column> getColumnsIterator()
public void addToColumns(Column elem)
public List<Column> getColumns()
public Record setColumns(List<Column> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public void setFieldValue(Record._Fields field, Object value)
TBase
setFieldValue
in interface TBase<Record,Record._Fields>
public Object getFieldValue(Record._Fields field)
TBase
getFieldValue
in interface TBase<Record,Record._Fields>
public boolean isSet(Record._Fields field)
isSet
in interface TBase<Record,Record._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Record that)
public int hashCode()
hashCode
in class Object
public int compareTo(Record other)
compareTo
in interface Comparable<Record>
public Record._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<Record,Record._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<Record,Record._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<Record,Record._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 |