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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Blur.terms_result._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 BlurException ex
           
static Map<Blur.terms_result._Fields,FieldMetaData> metaDataMap
           
 List<String> success
           
 
Constructor Summary
Blur.terms_result()
           
Blur.terms_result(Blur.terms_result other)
          Performs a deep copy on other.
Blur.terms_result(List<String> success, BlurException ex)
           
 
Method Summary
 void addToSuccess(String elem)
           
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(Blur.terms_result other)
           
 Blur.terms_result deepCopy()
           
 boolean equals(Blur.terms_result that)
           
 boolean equals(Object that)
           
 Blur.terms_result._Fields fieldForId(int fieldId)
          Get the F instance that corresponds to fieldId.
 BlurException getEx()
           
 Object getFieldValue(Blur.terms_result._Fields field)
          Get a field's value by field variable.
 List<String> getSuccess()
           
 Iterator<String> getSuccessIterator()
           
 int getSuccessSize()
           
 int hashCode()
           
 boolean isSet(Blur.terms_result._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetEx()
          Returns true if field ex is set (has been assigned a value) and false otherwise
 boolean isSetSuccess()
          Returns true if field success is set (has been assigned a value) and false otherwise
 void read(TProtocol iprot)
          Reads the TObject from the given input protocol.
 Blur.terms_result setEx(BlurException ex)
           
 void setExIsSet(boolean value)
           
 void setFieldValue(Blur.terms_result._Fields field, Object value)
          Set a field's value by field variable.
 Blur.terms_result setSuccess(List<String> success)
           
 void setSuccessIsSet(boolean value)
           
 String toString()
           
 void unsetEx()
           
 void unsetSuccess()
           
 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

success

public List<String> success

ex

public BlurException ex

metaDataMap

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

Blur.terms_result

public Blur.terms_result()

Blur.terms_result

public Blur.terms_result(List<String> success,
                         BlurException ex)

Blur.terms_result

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

Method Detail

deepCopy

public Blur.terms_result deepCopy()
Specified by:
deepCopy in interface TBase<Blur.terms_result,Blur.terms_result._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_result,Blur.terms_result._Fields>

getSuccessSize

public int getSuccessSize()

getSuccessIterator

public Iterator<String> getSuccessIterator()

addToSuccess

public void addToSuccess(String elem)

getSuccess

public List<String> getSuccess()

setSuccess

public Blur.terms_result setSuccess(List<String> success)

unsetSuccess

public void unsetSuccess()

isSetSuccess

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


setSuccessIsSet

public void setSuccessIsSet(boolean value)

getEx

public BlurException getEx()

setEx

public Blur.terms_result setEx(BlurException ex)

unsetEx

public void unsetEx()

isSetEx

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


setExIsSet

public void setExIsSet(boolean value)

setFieldValue

public void setFieldValue(Blur.terms_result._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_result,Blur.terms_result._Fields>

getFieldValue

public Object getFieldValue(Blur.terms_result._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_result,Blur.terms_result._Fields>

isSet

public boolean isSet(Blur.terms_result._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_result,Blur.terms_result._Fields>

equals

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

equals

public boolean equals(Blur.terms_result that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public Blur.terms_result._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_result,Blur.terms_result._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_result,Blur.terms_result._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_result,Blur.terms_result._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.