@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class ActiveScan extends Object implements org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>, Serializable, Cloneable, Comparable<ActiveScan>
Modifier and Type | Class and Description |
---|---|
static class |
ActiveScan._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
age |
List<ByteBuffer> |
authorizations |
String |
classLoaderContext |
String |
client |
List<TColumn> |
columns |
TKeyExtent |
extent |
long |
idleTime |
static Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
scanId |
List<IterInfo> |
ssiList |
Map<String,Map<String,String>> |
ssio |
ScanState |
state |
String |
tableId |
ScanType |
type |
String |
user |
Constructor and Description |
---|
ActiveScan() |
ActiveScan(ActiveScan other)
Performs a deep copy on other.
|
ActiveScan(String client,
String user,
String tableId,
long age,
long idleTime,
ScanType type,
ScanState state,
TKeyExtent extent,
List<TColumn> columns,
List<IterInfo> ssiList,
Map<String,Map<String,String>> ssio,
List<ByteBuffer> authorizations,
String classLoaderContext) |
Modifier and Type | Method and Description |
---|---|
void |
addToAuthorizations(ByteBuffer elem) |
void |
addToColumns(TColumn elem) |
void |
addToSsiList(IterInfo elem) |
void |
clear() |
int |
compareTo(ActiveScan other) |
ActiveScan |
deepCopy() |
boolean |
equals(ActiveScan that) |
boolean |
equals(Object that) |
ActiveScan._Fields |
fieldForId(int fieldId) |
long |
getAge() |
List<ByteBuffer> |
getAuthorizations() |
Iterator<ByteBuffer> |
getAuthorizationsIterator() |
int |
getAuthorizationsSize() |
String |
getClassLoaderContext() |
String |
getClient() |
List<TColumn> |
getColumns() |
Iterator<TColumn> |
getColumnsIterator() |
int |
getColumnsSize() |
TKeyExtent |
getExtent() |
Object |
getFieldValue(ActiveScan._Fields field) |
long |
getIdleTime() |
long |
getScanId() |
List<IterInfo> |
getSsiList() |
Iterator<IterInfo> |
getSsiListIterator() |
int |
getSsiListSize() |
Map<String,Map<String,String>> |
getSsio() |
int |
getSsioSize() |
ScanState |
getState() |
String |
getTableId() |
ScanType |
getType() |
String |
getUser() |
int |
hashCode() |
boolean |
isSet(ActiveScan._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAge()
Returns true if field age is set (has been assigned a value) and false otherwise
|
boolean |
isSetAuthorizations()
Returns true if field authorizations is set (has been assigned a value) and false otherwise
|
boolean |
isSetClassLoaderContext()
Returns true if field classLoaderContext is set (has been assigned a value) and false otherwise
|
boolean |
isSetClient()
Returns true if field client is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
|
boolean |
isSetExtent()
Returns true if field extent is set (has been assigned a value) and false otherwise
|
boolean |
isSetIdleTime()
Returns true if field idleTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetScanId()
Returns true if field scanId is set (has been assigned a value) and false otherwise
|
boolean |
isSetSsiList()
Returns true if field ssiList is set (has been assigned a value) and false otherwise
|
boolean |
isSetSsio()
Returns true if field ssio is set (has been assigned a value) and false otherwise
|
boolean |
isSetState()
Returns true if field state is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwise
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
boolean |
isSetUser()
Returns true if field user is set (has been assigned a value) and false otherwise
|
void |
putToSsio(String key,
Map<String,String> val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ActiveScan |
setAge(long age) |
void |
setAgeIsSet(boolean value) |
ActiveScan |
setAuthorizations(List<ByteBuffer> authorizations) |
void |
setAuthorizationsIsSet(boolean value) |
ActiveScan |
setClassLoaderContext(String classLoaderContext) |
void |
setClassLoaderContextIsSet(boolean value) |
ActiveScan |
setClient(String client) |
void |
setClientIsSet(boolean value) |
ActiveScan |
setColumns(List<TColumn> columns) |
void |
setColumnsIsSet(boolean value) |
ActiveScan |
setExtent(TKeyExtent extent) |
void |
setExtentIsSet(boolean value) |
void |
setFieldValue(ActiveScan._Fields field,
Object value) |
ActiveScan |
setIdleTime(long idleTime) |
void |
setIdleTimeIsSet(boolean value) |
ActiveScan |
setScanId(long scanId) |
void |
setScanIdIsSet(boolean value) |
ActiveScan |
setSsiList(List<IterInfo> ssiList) |
void |
setSsiListIsSet(boolean value) |
ActiveScan |
setSsio(Map<String,Map<String,String>> ssio) |
void |
setSsioIsSet(boolean value) |
ActiveScan |
setState(ScanState state) |
void |
setStateIsSet(boolean value) |
ActiveScan |
setTableId(String tableId) |
void |
setTableIdIsSet(boolean value) |
ActiveScan |
setType(ScanType type) |
void |
setTypeIsSet(boolean value) |
ActiveScan |
setUser(String user) |
void |
setUserIsSet(boolean value) |
String |
toString() |
void |
unsetAge() |
void |
unsetAuthorizations() |
void |
unsetClassLoaderContext() |
void |
unsetClient() |
void |
unsetColumns() |
void |
unsetExtent() |
void |
unsetIdleTime() |
void |
unsetScanId() |
void |
unsetSsiList() |
void |
unsetSsio() |
void |
unsetState() |
void |
unsetTableId() |
void |
unsetType() |
void |
unsetUser() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String client
public String user
public String tableId
public long age
public long idleTime
public TKeyExtent extent
public List<ByteBuffer> authorizations
public long scanId
public String classLoaderContext
public static final Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActiveScan()
public ActiveScan(String client, String user, String tableId, long age, long idleTime, ScanType type, ScanState state, TKeyExtent extent, List<TColumn> columns, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, String classLoaderContext)
public ActiveScan(ActiveScan other)
public ActiveScan deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
public String getClient()
public ActiveScan setClient(String client)
public void unsetClient()
public boolean isSetClient()
public void setClientIsSet(boolean value)
public String getUser()
public ActiveScan setUser(String user)
public void unsetUser()
public boolean isSetUser()
public void setUserIsSet(boolean value)
public String getTableId()
public ActiveScan setTableId(String tableId)
public void unsetTableId()
public boolean isSetTableId()
public void setTableIdIsSet(boolean value)
public long getAge()
public ActiveScan setAge(long age)
public void unsetAge()
public boolean isSetAge()
public void setAgeIsSet(boolean value)
public long getIdleTime()
public ActiveScan setIdleTime(long idleTime)
public void unsetIdleTime()
public boolean isSetIdleTime()
public void setIdleTimeIsSet(boolean value)
public ActiveScan setType(ScanType type)
ScanType
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public ActiveScan setState(ScanState state)
ScanState
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public TKeyExtent getExtent()
public ActiveScan setExtent(TKeyExtent extent)
public void unsetExtent()
public boolean isSetExtent()
public void setExtentIsSet(boolean value)
public int getColumnsSize()
public void addToColumns(TColumn elem)
public ActiveScan setColumns(List<TColumn> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getSsiListSize()
public void addToSsiList(IterInfo elem)
public ActiveScan setSsiList(List<IterInfo> ssiList)
public void unsetSsiList()
public boolean isSetSsiList()
public void setSsiListIsSet(boolean value)
public int getSsioSize()
public void unsetSsio()
public boolean isSetSsio()
public void setSsioIsSet(boolean value)
public int getAuthorizationsSize()
public Iterator<ByteBuffer> getAuthorizationsIterator()
public void addToAuthorizations(ByteBuffer elem)
public List<ByteBuffer> getAuthorizations()
public ActiveScan setAuthorizations(List<ByteBuffer> authorizations)
public void unsetAuthorizations()
public boolean isSetAuthorizations()
public void setAuthorizationsIsSet(boolean value)
public long getScanId()
public ActiveScan setScanId(long scanId)
public void unsetScanId()
public boolean isSetScanId()
public void setScanIdIsSet(boolean value)
public String getClassLoaderContext()
public ActiveScan setClassLoaderContext(String classLoaderContext)
public void unsetClassLoaderContext()
public boolean isSetClassLoaderContext()
public void setClassLoaderContextIsSet(boolean value)
public void setFieldValue(ActiveScan._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
public Object getFieldValue(ActiveScan._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
public boolean isSet(ActiveScan._Fields field)
isSet
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
public boolean equals(ActiveScan that)
public int compareTo(ActiveScan other)
compareTo
in interface Comparable<ActiveScan>
public ActiveScan._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.