org.apache.accumulo.core.tabletserver.thrift
Class TabletClientService.flush_args

java.lang.Object
  extended by org.apache.accumulo.core.tabletserver.thrift.TabletClientService.flush_args
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TabletClientService.flush_args>, org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>
Enclosing class:
TabletClientService

public static class TabletClientService.flush_args
extends java.lang.Object
implements org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Nested Class Summary
static class TabletClientService.flush_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 AuthInfo credentials
           
 java.lang.String lock
           
static java.util.Map<TabletClientService.flush_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 java.util.Set<java.lang.String> tables
           
 TInfo tinfo
           
 
Constructor Summary
TabletClientService.flush_args()
           
TabletClientService.flush_args(TabletClientService.flush_args other)
          Performs a deep copy on other.
TabletClientService.flush_args(TInfo tinfo, AuthInfo credentials, java.lang.String lock, java.util.Set<java.lang.String> tables)
           
 
Method Summary
 void addToTables(java.lang.String elem)
           
 TabletClientService.flush_args clone()
          Deprecated. 
 int compareTo(TabletClientService.flush_args other)
           
 TabletClientService.flush_args deepCopy()
           
 boolean equals(java.lang.Object that)
           
 boolean equals(TabletClientService.flush_args that)
           
 AuthInfo getCredentials()
           
 java.lang.Object getFieldValue(int fieldId)
           
 java.lang.Object getFieldValue(TabletClientService.flush_args._Fields field)
           
 java.lang.String getLock()
           
 java.util.Set<java.lang.String> getTables()
           
 java.util.Iterator<java.lang.String> getTablesIterator()
           
 int getTablesSize()
           
 TInfo getTinfo()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSet(TabletClientService.flush_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
 boolean isSetCredentials()
          Returns true if field credentials is set (has been asigned a value) and false otherwise
 boolean isSetLock()
          Returns true if field lock is set (has been asigned a value) and false otherwise
 boolean isSetTables()
          Returns true if field tables is set (has been asigned a value) and false otherwise
 boolean isSetTinfo()
          Returns true if field tinfo is set (has been asigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 TabletClientService.flush_args setCredentials(AuthInfo credentials)
           
 void setCredentialsIsSet(boolean value)
           
 void setFieldValue(int fieldID, java.lang.Object value)
           
 void setFieldValue(TabletClientService.flush_args._Fields field, java.lang.Object value)
           
 TabletClientService.flush_args setLock(java.lang.String lock)
           
 void setLockIsSet(boolean value)
           
 TabletClientService.flush_args setTables(java.util.Set<java.lang.String> tables)
           
 void setTablesIsSet(boolean value)
           
 TabletClientService.flush_args setTinfo(TInfo tinfo)
           
 void setTinfoIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetCredentials()
           
 void unsetLock()
           
 void unsetTables()
           
 void unsetTinfo()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tinfo

public TInfo tinfo

credentials

public AuthInfo credentials

lock

public java.lang.String lock

tables

public java.util.Set<java.lang.String> tables

metaDataMap

public static final java.util.Map<TabletClientService.flush_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

TabletClientService.flush_args

public TabletClientService.flush_args()

TabletClientService.flush_args

public TabletClientService.flush_args(TInfo tinfo,
                                      AuthInfo credentials,
                                      java.lang.String lock,
                                      java.util.Set<java.lang.String> tables)

TabletClientService.flush_args

public TabletClientService.flush_args(TabletClientService.flush_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public TabletClientService.flush_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

clone

@Deprecated
public TabletClientService.flush_args clone()
Deprecated. 

Overrides:
clone in class java.lang.Object

getTinfo

public TInfo getTinfo()

setTinfo

public TabletClientService.flush_args setTinfo(TInfo tinfo)

unsetTinfo

public void unsetTinfo()

isSetTinfo

public boolean isSetTinfo()
Returns true if field tinfo is set (has been asigned a value) and false otherwise


setTinfoIsSet

public void setTinfoIsSet(boolean value)

getCredentials

public AuthInfo getCredentials()

setCredentials

public TabletClientService.flush_args setCredentials(AuthInfo credentials)

unsetCredentials

public void unsetCredentials()

isSetCredentials

public boolean isSetCredentials()
Returns true if field credentials is set (has been asigned a value) and false otherwise


setCredentialsIsSet

public void setCredentialsIsSet(boolean value)

getLock

public java.lang.String getLock()

setLock

public TabletClientService.flush_args setLock(java.lang.String lock)

unsetLock

public void unsetLock()

isSetLock

public boolean isSetLock()
Returns true if field lock is set (has been asigned a value) and false otherwise


setLockIsSet

public void setLockIsSet(boolean value)

getTablesSize

public int getTablesSize()

getTablesIterator

public java.util.Iterator<java.lang.String> getTablesIterator()

addToTables

public void addToTables(java.lang.String elem)

getTables

public java.util.Set<java.lang.String> getTables()

setTables

public TabletClientService.flush_args setTables(java.util.Set<java.lang.String> tables)

unsetTables

public void unsetTables()

isSetTables

public boolean isSetTables()
Returns true if field tables is set (has been asigned a value) and false otherwise


setTablesIsSet

public void setTablesIsSet(boolean value)

setFieldValue

public void setFieldValue(TabletClientService.flush_args._Fields field,
                          java.lang.Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

setFieldValue

public void setFieldValue(int fieldID,
                          java.lang.Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

getFieldValue

public java.lang.Object getFieldValue(TabletClientService.flush_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

getFieldValue

public java.lang.Object getFieldValue(int fieldId)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

isSet

public boolean isSet(TabletClientService.flush_args._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(TabletClientService.flush_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(TabletClientService.flush_args other)
Specified by:
compareTo in interface java.lang.Comparable<TabletClientService.flush_args>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<TabletClientService.flush_args,TabletClientService.flush_args._Fields>
Throws:
org.apache.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


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