|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.Column
public class Column
Column is the lowest storage element in Blur, it stores a single name and value pair.
Nested Class Summary | |
---|---|
static class |
Column._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<Column._Fields,FieldMetaData> |
metaDataMap
|
String |
name
The name of the column. |
String |
value
The value to be indexed and stored. |
Constructor Summary | |
---|---|
Column()
|
|
Column(Column other)
Performs a deep copy on other. |
|
Column(String name,
String value)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(Column other)
|
Column |
deepCopy()
|
boolean |
equals(Column that)
|
boolean |
equals(Object that)
|
Column._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
Object |
getFieldValue(Column._Fields field)
Get a field's value by field variable. |
String |
getName()
The name of the column. |
String |
getValue()
The value to be indexed and stored. |
int |
hashCode()
|
boolean |
isSet(Column._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise |
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(Column._Fields field,
Object value)
Set a field's value by field variable. |
Column |
setName(String name)
The name of the column. |
void |
setNameIsSet(boolean value)
|
Column |
setValue(String value)
The value to be indexed and stored. |
void |
setValueIsSet(boolean value)
|
String |
toString()
|
void |
unsetName()
|
void |
unsetValue()
|
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 name
public String value
public static final Map<Column._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public Column()
public Column(String name, String value)
public Column(Column other)
Method Detail |
---|
public Column deepCopy()
deepCopy
in interface TBase<Column,Column._Fields>
public void clear()
TBase
clear
in interface TBase<Column,Column._Fields>
public String getName()
public Column setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getValue()
public Column setValue(String value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public void setFieldValue(Column._Fields field, Object value)
TBase
setFieldValue
in interface TBase<Column,Column._Fields>
public Object getFieldValue(Column._Fields field)
TBase
getFieldValue
in interface TBase<Column,Column._Fields>
public boolean isSet(Column._Fields field)
isSet
in interface TBase<Column,Column._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Column that)
public int hashCode()
hashCode
in class Object
public int compareTo(Column other)
compareTo
in interface Comparable<Column>
public Column._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<Column,Column._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<Column,Column._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<Column,Column._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 |