Class ActiveScan
- java.lang.Object
-
- org.apache.accumulo.core.tabletserver.thrift.ActiveScan
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ActiveScan>,org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>,org.apache.thrift.TSerializable
public class ActiveScan extends Object implements org.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>, Serializable, Cloneable, Comparable<ActiveScan>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActiveScan._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longageList<ByteBuffer>authorizationsStringclassLoaderContextStringclientList<TColumn>columnsTKeyExtentextentlongidleTimestatic Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongscanIdList<IterInfo>ssiListMap<String,Map<String,String>>ssioScanStatestateStringtableIdScanTypetypeStringuser
-
Constructor Summary
Constructors Constructor Description ActiveScan()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)ActiveScan(ActiveScan other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToAuthorizations(ByteBuffer elem)voidaddToColumns(TColumn elem)voidaddToSsiList(IterInfo elem)voidclear()intcompareTo(ActiveScan other)ActiveScandeepCopy()booleanequals(Object that)booleanequals(ActiveScan that)ActiveScan._FieldsfieldForId(int fieldId)longgetAge()List<ByteBuffer>getAuthorizations()Iterator<ByteBuffer>getAuthorizationsIterator()intgetAuthorizationsSize()StringgetClassLoaderContext()StringgetClient()List<TColumn>getColumns()Iterator<TColumn>getColumnsIterator()intgetColumnsSize()TKeyExtentgetExtent()ObjectgetFieldValue(ActiveScan._Fields field)longgetIdleTime()longgetScanId()List<IterInfo>getSsiList()Iterator<IterInfo>getSsiListIterator()intgetSsiListSize()Map<String,Map<String,String>>getSsio()intgetSsioSize()ScanStategetState()StringgetTableId()ScanTypegetType()StringgetUser()inthashCode()booleanisSet(ActiveScan._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAge()Returns true if field age is set (has been assigned a value) and false otherwisebooleanisSetAuthorizations()Returns true if field authorizations is set (has been assigned a value) and false otherwisebooleanisSetClassLoaderContext()Returns true if field classLoaderContext is set (has been assigned a value) and false otherwisebooleanisSetClient()Returns true if field client is set (has been assigned a value) and false otherwisebooleanisSetColumns()Returns true if field columns is set (has been assigned a value) and false otherwisebooleanisSetExtent()Returns true if field extent is set (has been assigned a value) and false otherwisebooleanisSetIdleTime()Returns true if field idleTime is set (has been assigned a value) and false otherwisebooleanisSetScanId()Returns true if field scanId is set (has been assigned a value) and false otherwisebooleanisSetSsiList()Returns true if field ssiList is set (has been assigned a value) and false otherwisebooleanisSetSsio()Returns true if field ssio is set (has been assigned a value) and false otherwisebooleanisSetState()Returns true if field state is set (has been assigned a value) and false otherwisebooleanisSetTableId()Returns true if field tableId is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisebooleanisSetUser()Returns true if field user is set (has been assigned a value) and false otherwisevoidputToSsio(String key, Map<String,String> val)voidread(org.apache.thrift.protocol.TProtocol iprot)ActiveScansetAge(long age)voidsetAgeIsSet(boolean value)ActiveScansetAuthorizations(List<ByteBuffer> authorizations)voidsetAuthorizationsIsSet(boolean value)ActiveScansetClassLoaderContext(String classLoaderContext)voidsetClassLoaderContextIsSet(boolean value)ActiveScansetClient(String client)voidsetClientIsSet(boolean value)ActiveScansetColumns(List<TColumn> columns)voidsetColumnsIsSet(boolean value)ActiveScansetExtent(TKeyExtent extent)voidsetExtentIsSet(boolean value)voidsetFieldValue(ActiveScan._Fields field, Object value)ActiveScansetIdleTime(long idleTime)voidsetIdleTimeIsSet(boolean value)ActiveScansetScanId(long scanId)voidsetScanIdIsSet(boolean value)ActiveScansetSsiList(List<IterInfo> ssiList)voidsetSsiListIsSet(boolean value)ActiveScansetSsio(Map<String,Map<String,String>> ssio)voidsetSsioIsSet(boolean value)ActiveScansetState(ScanState state)voidsetStateIsSet(boolean value)ActiveScansetTableId(String tableId)voidsetTableIdIsSet(boolean value)ActiveScansetType(ScanType type)voidsetTypeIsSet(boolean value)ActiveScansetUser(String user)voidsetUserIsSet(boolean value)StringtoString()voidunsetAge()voidunsetAuthorizations()voidunsetClassLoaderContext()voidunsetClient()voidunsetColumns()voidunsetExtent()voidunsetIdleTime()voidunsetScanId()voidunsetSsiList()voidunsetSsio()voidunsetState()voidunsetTableId()voidunsetType()voidunsetUser()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
client
public String client
-
user
public String user
-
tableId
public String tableId
-
age
public long age
-
idleTime
public long idleTime
-
extent
public TKeyExtent extent
-
authorizations
public List<ByteBuffer> authorizations
-
scanId
public long scanId
-
classLoaderContext
public String classLoaderContext
-
metaDataMap
public static final Map<ActiveScan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ActiveScan
public ActiveScan()
-
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)
-
ActiveScan
public ActiveScan(ActiveScan other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ActiveScan deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
-
getClient
public String getClient()
-
setClient
public ActiveScan setClient(String client)
-
unsetClient
public void unsetClient()
-
isSetClient
public boolean isSetClient()
Returns true if field client is set (has been assigned a value) and false otherwise
-
setClientIsSet
public void setClientIsSet(boolean value)
-
getUser
public String getUser()
-
setUser
public ActiveScan setUser(String user)
-
unsetUser
public void unsetUser()
-
isSetUser
public boolean isSetUser()
Returns true if field user is set (has been assigned a value) and false otherwise
-
setUserIsSet
public void setUserIsSet(boolean value)
-
getTableId
public String getTableId()
-
setTableId
public ActiveScan setTableId(String tableId)
-
unsetTableId
public void unsetTableId()
-
isSetTableId
public boolean isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwise
-
setTableIdIsSet
public void setTableIdIsSet(boolean value)
-
getAge
public long getAge()
-
setAge
public ActiveScan setAge(long age)
-
unsetAge
public void unsetAge()
-
isSetAge
public boolean isSetAge()
Returns true if field age is set (has been assigned a value) and false otherwise
-
setAgeIsSet
public void setAgeIsSet(boolean value)
-
getIdleTime
public long getIdleTime()
-
setIdleTime
public ActiveScan setIdleTime(long idleTime)
-
unsetIdleTime
public void unsetIdleTime()
-
isSetIdleTime
public boolean isSetIdleTime()
Returns true if field idleTime is set (has been assigned a value) and false otherwise
-
setIdleTimeIsSet
public void setIdleTimeIsSet(boolean value)
-
setType
public ActiveScan setType(ScanType type)
- See Also:
ScanType
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
setState
public ActiveScan setState(ScanState state)
- See Also:
ScanState
-
unsetState
public void unsetState()
-
isSetState
public boolean isSetState()
Returns true if field state is set (has been assigned a value) and false otherwise
-
setStateIsSet
public void setStateIsSet(boolean value)
-
getExtent
public TKeyExtent getExtent()
-
setExtent
public ActiveScan setExtent(TKeyExtent extent)
-
unsetExtent
public void unsetExtent()
-
isSetExtent
public boolean isSetExtent()
Returns true if field extent is set (has been assigned a value) and false otherwise
-
setExtentIsSet
public void setExtentIsSet(boolean value)
-
getColumnsSize
public int getColumnsSize()
-
addToColumns
public void addToColumns(TColumn elem)
-
setColumns
public ActiveScan setColumns(List<TColumn> columns)
-
unsetColumns
public void unsetColumns()
-
isSetColumns
public boolean isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
-
setColumnsIsSet
public void setColumnsIsSet(boolean value)
-
getSsiListSize
public int getSsiListSize()
-
addToSsiList
public void addToSsiList(IterInfo elem)
-
setSsiList
public ActiveScan setSsiList(List<IterInfo> ssiList)
-
unsetSsiList
public void unsetSsiList()
-
isSetSsiList
public boolean isSetSsiList()
Returns true if field ssiList is set (has been assigned a value) and false otherwise
-
setSsiListIsSet
public void setSsiListIsSet(boolean value)
-
getSsioSize
public int getSsioSize()
-
unsetSsio
public void unsetSsio()
-
isSetSsio
public boolean isSetSsio()
Returns true if field ssio is set (has been assigned a value) and false otherwise
-
setSsioIsSet
public void setSsioIsSet(boolean value)
-
getAuthorizationsSize
public int getAuthorizationsSize()
-
getAuthorizationsIterator
public Iterator<ByteBuffer> getAuthorizationsIterator()
-
addToAuthorizations
public void addToAuthorizations(ByteBuffer elem)
-
getAuthorizations
public List<ByteBuffer> getAuthorizations()
-
setAuthorizations
public ActiveScan setAuthorizations(List<ByteBuffer> authorizations)
-
unsetAuthorizations
public void unsetAuthorizations()
-
isSetAuthorizations
public boolean isSetAuthorizations()
Returns true if field authorizations is set (has been assigned a value) and false otherwise
-
setAuthorizationsIsSet
public void setAuthorizationsIsSet(boolean value)
-
getScanId
public long getScanId()
-
setScanId
public ActiveScan setScanId(long scanId)
-
unsetScanId
public void unsetScanId()
-
isSetScanId
public boolean isSetScanId()
Returns true if field scanId is set (has been assigned a value) and false otherwise
-
setScanIdIsSet
public void setScanIdIsSet(boolean value)
-
getClassLoaderContext
public String getClassLoaderContext()
-
setClassLoaderContext
public ActiveScan setClassLoaderContext(String classLoaderContext)
-
unsetClassLoaderContext
public void unsetClassLoaderContext()
-
isSetClassLoaderContext
public boolean isSetClassLoaderContext()
Returns true if field classLoaderContext is set (has been assigned a value) and false otherwise
-
setClassLoaderContextIsSet
public void setClassLoaderContextIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ActiveScan._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
-
getFieldValue
public Object getFieldValue(ActiveScan._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
-
isSet
public boolean isSet(ActiveScan._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
-
equals
public boolean equals(ActiveScan that)
-
compareTo
public int compareTo(ActiveScan other)
- Specified by:
compareToin interfaceComparable<ActiveScan>
-
fieldForId
public ActiveScan._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ActiveScan,ActiveScan._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-