|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.tabletserver.thrift.ActiveScan
public class ActiveScan
Nested Class Summary | |
---|---|
static class |
ActiveScan._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
long |
age
|
String |
client
|
List<TColumn> |
columns
|
TKeyExtent |
extent
|
long |
idleTime
|
static Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
List<IterInfo> |
ssiList
|
Map<String,Map<String,String>> |
ssio
|
ScanState |
state
|
String |
tableId
|
ScanType |
type
|
String |
user
|
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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()
|
String |
getClient()
|
List<TColumn> |
getColumns()
|
Iterator<TColumn> |
getColumnsIterator()
|
int |
getColumnsSize()
|
TKeyExtent |
getExtent()
|
Object |
getFieldValue(ActiveScan._Fields field)
|
long |
getIdleTime()
|
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 |
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 |
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 |
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 |
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 |
unsetClient()
|
void |
unsetColumns()
|
void |
unsetExtent()
|
void |
unsetIdleTime()
|
void |
unsetSsiList()
|
void |
unsetSsio()
|
void |
unsetState()
|
void |
unsetTableId()
|
void |
unsetType()
|
void |
unsetUser()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String client
public String user
public String tableId
public long age
public long idleTime
public ScanType type
ScanType
public ScanState state
ScanState
public TKeyExtent extent
public List<TColumn> columns
public List<IterInfo> ssiList
public Map<String,Map<String,String>> ssio
public static final Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
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)
public ActiveScan(ActiveScan other)
Method Detail |
---|
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 ScanType getType()
ScanType
public ActiveScan setType(ScanType type)
ScanType
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public ScanState getState()
ScanState
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 Iterator<TColumn> getColumnsIterator()
public void addToColumns(TColumn elem)
public List<TColumn> getColumns()
public ActiveScan setColumns(List<TColumn> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getSsiListSize()
public Iterator<IterInfo> getSsiListIterator()
public void addToSsiList(IterInfo elem)
public List<IterInfo> getSsiList()
public ActiveScan setSsiList(List<IterInfo> ssiList)
public void unsetSsiList()
public boolean isSetSsiList()
public void setSsiListIsSet(boolean value)
public int getSsioSize()
public void putToSsio(String key, Map<String,String> val)
public Map<String,Map<String,String>> getSsio()
public ActiveScan setSsio(Map<String,Map<String,String>> ssio)
public void unsetSsio()
public boolean isSetSsio()
public void setSsioIsSet(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(Object that)
equals
in class Object
public boolean equals(ActiveScan that)
public int hashCode()
hashCode
in class Object
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 String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |