org.apache.blur.thrift.generated
Class Blur.terms_args

java.lang.Object
  extended by org.apache.blur.thrift.generated.Blur.terms_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Blur.terms_args>, TBase<Blur.terms_args,Blur.terms_args._Fields>
Enclosing class:
Blur

public static class Blur.terms_args
extends Object
implements TBase<Blur.terms_args,Blur.terms_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class Blur.terms_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String columnFamily
          the column family.
 String columnName
          the column name.
static Map<Blur.terms_args._Fields,FieldMetaData> metaDataMap
           
 short size
          the number to fetch at once.
 String startWith
          the term to start with assuming that you are paging through the term list.
 String table
          the table name.
 
Constructor Summary
Blur.terms_args()
           
Blur.terms_args(Blur.terms_args other)
          Performs a deep copy on other.
Blur.terms_args(String table, String columnFamily, String columnName, String startWith, short size)
           
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(Blur.terms_args other)
           
 Blur.terms_args deepCopy()
           
 boolean equals(Blur.terms_args that)
           
 boolean equals(Object that)
           
 Blur.terms_args._Fields fieldForId(int fieldId)
          Get the F instance that corresponds to fieldId.
 String getColumnFamily()
          the column family.
 String getColumnName()
          the column name.
 Object getFieldValue(Blur.terms_args._Fields field)
          Get a field's value by field variable.
 short getSize()
          the number to fetch at once.
 String getStartWith()
          the term to start with assuming that you are paging through the term list.
 String getTable()
          the table name.
 int hashCode()
           
 boolean isSet(Blur.terms_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetColumnFamily()
          Returns true if field columnFamily is set (has been assigned a value) and false otherwise
 boolean isSetColumnName()
          Returns true if field columnName is set (has been assigned a value) and false otherwise
 boolean isSetSize()
          Returns true if field size is set (has been assigned a value) and false otherwise
 boolean isSetStartWith()
          Returns true if field startWith is set (has been assigned a value) and false otherwise
 boolean isSetTable()
          Returns true if field table is set (has been assigned a value) and false otherwise
 void read(TProtocol iprot)
          Reads the TObject from the given input protocol.
 Blur.terms_args setColumnFamily(String columnFamily)
          the column family.
 void setColumnFamilyIsSet(boolean value)
           
 Blur.terms_args setColumnName(String columnName)
          the column name.
 void setColumnNameIsSet(boolean value)
           
 void setFieldValue(Blur.terms_args._Fields field, Object value)
          Set a field's value by field variable.
 Blur.terms_args setSize(short size)
          the number to fetch at once.
 void setSizeIsSet(boolean value)
           
 Blur.terms_args setStartWith(String startWith)
          the term to start with assuming that you are paging through the term list.
 void setStartWithIsSet(boolean value)
           
 Blur.terms_args setTable(String table)
          the table name.
 void setTableIsSet(boolean value)
           
 String toString()
           
 void unsetColumnFamily()
           
 void unsetColumnName()
           
 void unsetSize()
           
 void unsetStartWith()
           
 void unsetTable()
           
 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

table

public String table
the table name.


columnFamily

public String columnFamily
the column family. If the frequency requested is a system field like "rowid", "recordid", "family", etc then columnFamily can be null.


columnName

public String columnName
the column name.


startWith

public String startWith
the term to start with assuming that you are paging through the term list.


size

public short size
the number to fetch at once.


metaDataMap

public static final Map<Blur.terms_args._Fields,FieldMetaData> metaDataMap
Constructor Detail

Blur.terms_args

public Blur.terms_args()

Blur.terms_args

public Blur.terms_args(String table,
                       String columnFamily,
                       String columnName,
                       String startWith,
                       short size)

Blur.terms_args

public Blur.terms_args(Blur.terms_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public Blur.terms_args deepCopy()
Specified by:
deepCopy in interface TBase<Blur.terms_args,Blur.terms_args._Fields>

clear

public void clear()
Description copied from interface: TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface TBase<Blur.terms_args,Blur.terms_args._Fields>

getTable

public String getTable()
the table name.


setTable

public Blur.terms_args setTable(String table)
the table name.


unsetTable

public void unsetTable()

isSetTable

public boolean isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise


setTableIsSet

public void setTableIsSet(boolean value)

getColumnFamily

public String getColumnFamily()
the column family. If the frequency requested is a system field like "rowid", "recordid", "family", etc then columnFamily can be null.


setColumnFamily

public Blur.terms_args setColumnFamily(String columnFamily)
the column family. If the frequency requested is a system field like "rowid", "recordid", "family", etc then columnFamily can be null.


unsetColumnFamily

public void unsetColumnFamily()

isSetColumnFamily

public boolean isSetColumnFamily()
Returns true if field columnFamily is set (has been assigned a value) and false otherwise


setColumnFamilyIsSet

public void setColumnFamilyIsSet(boolean value)

getColumnName

public String getColumnName()
the column name.


setColumnName

public Blur.terms_args setColumnName(String columnName)
the column name.


unsetColumnName

public void unsetColumnName()

isSetColumnName

public boolean isSetColumnName()
Returns true if field columnName is set (has been assigned a value) and false otherwise


setColumnNameIsSet

public void setColumnNameIsSet(boolean value)

getStartWith

public String getStartWith()
the term to start with assuming that you are paging through the term list.


setStartWith

public Blur.terms_args setStartWith(String startWith)
the term to start with assuming that you are paging through the term list.


unsetStartWith

public void unsetStartWith()

isSetStartWith

public boolean isSetStartWith()
Returns true if field startWith is set (has been assigned a value) and false otherwise


setStartWithIsSet

public void setStartWithIsSet(boolean value)

getSize

public short getSize()
the number to fetch at once.


setSize

public Blur.terms_args setSize(short size)
the number to fetch at once.


unsetSize

public void unsetSize()

isSetSize

public boolean isSetSize()
Returns true if field size is set (has been assigned a value) and false otherwise


setSizeIsSet

public void setSizeIsSet(boolean value)

setFieldValue

public void setFieldValue(Blur.terms_args._Fields field,
                          Object value)
Description copied from interface: TBase
Set a field's value by field variable. Primitive types must be "boxed" in the appropriate object wrapper type.

Specified by:
setFieldValue in interface TBase<Blur.terms_args,Blur.terms_args._Fields>

getFieldValue

public Object getFieldValue(Blur.terms_args._Fields field)
Description copied from interface: TBase
Get a field's value by field variable. Primitive types will be wrapped in the appropriate "boxed" types.

Specified by:
getFieldValue in interface TBase<Blur.terms_args,Blur.terms_args._Fields>

isSet

public boolean isSet(Blur.terms_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface TBase<Blur.terms_args,Blur.terms_args._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Blur.terms_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Blur.terms_args other)
Specified by:
compareTo in interface Comparable<Blur.terms_args>

fieldForId

public Blur.terms_args._Fields fieldForId(int fieldId)
Description copied from interface: TBase
Get the F instance that corresponds to fieldId.

Specified by:
fieldForId in interface TBase<Blur.terms_args,Blur.terms_args._Fields>

read

public void read(TProtocol iprot)
          throws TException
Description copied from interface: TBase
Reads the TObject from the given input protocol.

Specified by:
read in interface TBase<Blur.terms_args,Blur.terms_args._Fields>
Parameters:
iprot - Input protocol
Throws:
TException

write

public void write(TProtocol oprot)
           throws TException
Description copied from interface: TBase
Writes the objects out to the protocol

Specified by:
write in interface TBase<Blur.terms_args,Blur.terms_args._Fields>
Parameters:
oprot - Output protocol
Throws:
TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws TException
Throws:
TException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.