org.apache.accumulo.proxy.thrift
public class ActiveScan extends Object implements org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>, Serializable, Cloneable
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 |
client |
List<Column> |
columns |
KeyExtent |
extent |
long |
idleTime |
List<IteratorSetting> |
iterators |
static Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ScanState |
state |
String |
table |
ScanType |
type |
String |
user |
Constructor and Description |
---|
ActiveScan() |
ActiveScan(ActiveScan other)
Performs a deep copy on other.
|
ActiveScan(String client,
String user,
String table,
long age,
long idleTime,
ScanType type,
ScanState state,
KeyExtent extent,
List<Column> columns,
List<IteratorSetting> iterators,
List<ByteBuffer> authorizations) |
Modifier and Type | Method and Description |
---|---|
void |
addToAuthorizations(ByteBuffer elem) |
void |
addToColumns(Column elem) |
void |
addToIterators(IteratorSetting 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 |
getClient() |
List<Column> |
getColumns() |
Iterator<Column> |
getColumnsIterator() |
int |
getColumnsSize() |
KeyExtent |
getExtent() |
Object |
getFieldValue(ActiveScan._Fields field) |
long |
getIdleTime() |
List<IteratorSetting> |
getIterators() |
Iterator<IteratorSetting> |
getIteratorsIterator() |
int |
getIteratorsSize() |
ScanState |
getState() |
String |
getTable() |
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 |
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 |
isSetIterators()
Returns true if field iterators 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 |
isSetTable()
Returns true if field table 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 |
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 |
setClient(String client) |
void |
setClientIsSet(boolean value) |
ActiveScan |
setColumns(List<Column> columns) |
void |
setColumnsIsSet(boolean value) |
ActiveScan |
setExtent(KeyExtent extent) |
void |
setExtentIsSet(boolean value) |
void |
setFieldValue(ActiveScan._Fields field,
Object value) |
ActiveScan |
setIdleTime(long idleTime) |
void |
setIdleTimeIsSet(boolean value) |
ActiveScan |
setIterators(List<IteratorSetting> iterators) |
void |
setIteratorsIsSet(boolean value) |
ActiveScan |
setState(ScanState state) |
void |
setStateIsSet(boolean value) |
ActiveScan |
setTable(String table) |
void |
setTableIsSet(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 |
unsetClient() |
void |
unsetColumns() |
void |
unsetExtent() |
void |
unsetIdleTime() |
void |
unsetIterators() |
void |
unsetState() |
void |
unsetTable() |
void |
unsetType() |
void |
unsetUser() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String client
public String user
public String table
public long age
public long idleTime
public KeyExtent extent
public List<IteratorSetting> iterators
public List<ByteBuffer> authorizations
public static final Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ActiveScan()
public ActiveScan(String client, String user, String table, long age, long idleTime, ScanType type, ScanState state, KeyExtent extent, List<Column> columns, List<IteratorSetting> iterators, List<ByteBuffer> authorizations)
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 getTable()
public ActiveScan setTable(String table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(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 KeyExtent getExtent()
public ActiveScan setExtent(KeyExtent extent)
public void unsetExtent()
public boolean isSetExtent()
public void setExtentIsSet(boolean value)
public int getColumnsSize()
public void addToColumns(Column elem)
public ActiveScan setColumns(List<Column> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getIteratorsSize()
public Iterator<IteratorSetting> getIteratorsIterator()
public void addToIterators(IteratorSetting elem)
public List<IteratorSetting> getIterators()
public ActiveScan setIterators(List<IteratorSetting> iterators)
public void unsetIterators()
public boolean isSetIterators()
public void setIteratorsIsSet(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 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-2015 The Apache Software Foundation. All Rights Reserved.