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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Blur.shardServerList_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String cluster
          the cluster name.
static Map<Blur.shardServerList_args._Fields,FieldMetaData> metaDataMap
           
 
Constructor Summary
Blur.shardServerList_args()
           
Blur.shardServerList_args(Blur.shardServerList_args other)
          Performs a deep copy on other.
Blur.shardServerList_args(String cluster)
           
 
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.shardServerList_args other)
           
 Blur.shardServerList_args deepCopy()
           
 boolean equals(Blur.shardServerList_args that)
           
 boolean equals(Object that)
           
 Blur.shardServerList_args._Fields fieldForId(int fieldId)
          Get the F instance that corresponds to fieldId.
 String getCluster()
          the cluster name.
 Object getFieldValue(Blur.shardServerList_args._Fields field)
          Get a field's value by field variable.
 int hashCode()
           
 boolean isSet(Blur.shardServerList_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCluster()
          Returns true if field cluster is set (has been assigned a value) and false otherwise
 void read(TProtocol iprot)
          Reads the TObject from the given input protocol.
 Blur.shardServerList_args setCluster(String cluster)
          the cluster name.
 void setClusterIsSet(boolean value)
           
 void setFieldValue(Blur.shardServerList_args._Fields field, Object value)
          Set a field's value by field variable.
 String toString()
           
 void unsetCluster()
           
 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

cluster

public String cluster
the cluster name.


metaDataMap

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

Blur.shardServerList_args

public Blur.shardServerList_args()

Blur.shardServerList_args

public Blur.shardServerList_args(String cluster)

Blur.shardServerList_args

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

Method Detail

deepCopy

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

getCluster

public String getCluster()
the cluster name.


setCluster

public Blur.shardServerList_args setCluster(String cluster)
the cluster name.


unsetCluster

public void unsetCluster()

isSetCluster

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


setClusterIsSet

public void setClusterIsSet(boolean value)

setFieldValue

public void setFieldValue(Blur.shardServerList_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.shardServerList_args,Blur.shardServerList_args._Fields>

getFieldValue

public Object getFieldValue(Blur.shardServerList_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.shardServerList_args,Blur.shardServerList_args._Fields>

isSet

public boolean isSet(Blur.shardServerList_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.shardServerList_args,Blur.shardServerList_args._Fields>

equals

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

equals

public boolean equals(Blur.shardServerList_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public Blur.shardServerList_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.shardServerList_args,Blur.shardServerList_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.shardServerList_args,Blur.shardServerList_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.shardServerList_args,Blur.shardServerList_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.