Class TabletClientService.startScan_args
- java.lang.Object
-
- org.apache.accumulo.core.tabletserver.thrift.TabletClientService.startScan_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TabletClientService.startScan_args>,org.apache.thrift.TBase<TabletClientService.startScan_args,TabletClientService.startScan_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- TabletClientService
public static class TabletClientService.startScan_args extends Object implements org.apache.thrift.TBase<TabletClientService.startScan_args,TabletClientService.startScan_args._Fields>, Serializable, Cloneable, Comparable<TabletClientService.startScan_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTabletClientService.startScan_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<ByteBuffer>authorizationsintbatchSizelongbatchTimeOutStringclassLoaderContextList<TColumn>columnsTCredentialscredentialsMap<String,String>executionHintsTKeyExtentextentbooleanisolatedstatic Map<TabletClientService.startScan_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTRangerangelongreadaheadThresholdTSamplerConfigurationsamplerConfigList<IterInfo>ssiListMap<String,Map<String,String>>ssioTInfotinfobooleanwaitForWrites
-
Constructor Summary
Constructors Constructor Description startScan_args()startScan_args(TabletClientService.startScan_args other)Performs a deep copy on other.startScan_args(TInfo tinfo, TCredentials credentials, TKeyExtent extent, TRange range, List<TColumn> columns, int batchSize, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, long readaheadThreshold, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToAuthorizations(ByteBuffer elem)voidaddToColumns(TColumn elem)voidaddToSsiList(IterInfo elem)voidclear()intcompareTo(TabletClientService.startScan_args other)TabletClientService.startScan_argsdeepCopy()booleanequals(Object that)booleanequals(TabletClientService.startScan_args that)TabletClientService.startScan_args._FieldsfieldForId(int fieldId)List<ByteBuffer>getAuthorizations()Iterator<ByteBuffer>getAuthorizationsIterator()intgetAuthorizationsSize()intgetBatchSize()longgetBatchTimeOut()StringgetClassLoaderContext()List<TColumn>getColumns()Iterator<TColumn>getColumnsIterator()intgetColumnsSize()TCredentialsgetCredentials()Map<String,String>getExecutionHints()intgetExecutionHintsSize()TKeyExtentgetExtent()ObjectgetFieldValue(TabletClientService.startScan_args._Fields field)TRangegetRange()longgetReadaheadThreshold()TSamplerConfigurationgetSamplerConfig()List<IterInfo>getSsiList()Iterator<IterInfo>getSsiListIterator()intgetSsiListSize()Map<String,Map<String,String>>getSsio()intgetSsioSize()TInfogetTinfo()inthashCode()booleanisIsolated()booleanisSet(TabletClientService.startScan_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAuthorizations()Returns true if field authorizations is set (has been assigned a value) and false otherwisebooleanisSetBatchSize()Returns true if field batchSize is set (has been assigned a value) and false otherwisebooleanisSetBatchTimeOut()Returns true if field batchTimeOut is set (has been assigned a value) and false otherwisebooleanisSetClassLoaderContext()Returns true if field classLoaderContext is set (has been assigned a value) and false otherwisebooleanisSetColumns()Returns true if field columns is set (has been assigned a value) and false otherwisebooleanisSetCredentials()Returns true if field credentials is set (has been assigned a value) and false otherwisebooleanisSetExecutionHints()Returns true if field executionHints is set (has been assigned a value) and false otherwisebooleanisSetExtent()Returns true if field extent is set (has been assigned a value) and false otherwisebooleanisSetIsolated()Returns true if field isolated is set (has been assigned a value) and false otherwisebooleanisSetRange()Returns true if field range is set (has been assigned a value) and false otherwisebooleanisSetReadaheadThreshold()Returns true if field readaheadThreshold is set (has been assigned a value) and false otherwisebooleanisSetSamplerConfig()Returns true if field samplerConfig 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 otherwisebooleanisSetTinfo()Returns true if field tinfo is set (has been assigned a value) and false otherwisebooleanisSetWaitForWrites()Returns true if field waitForWrites is set (has been assigned a value) and false otherwisebooleanisWaitForWrites()voidputToExecutionHints(String key, String val)voidputToSsio(String key, Map<String,String> val)voidread(org.apache.thrift.protocol.TProtocol iprot)TabletClientService.startScan_argssetAuthorizations(List<ByteBuffer> authorizations)voidsetAuthorizationsIsSet(boolean value)TabletClientService.startScan_argssetBatchSize(int batchSize)voidsetBatchSizeIsSet(boolean value)TabletClientService.startScan_argssetBatchTimeOut(long batchTimeOut)voidsetBatchTimeOutIsSet(boolean value)TabletClientService.startScan_argssetClassLoaderContext(String classLoaderContext)voidsetClassLoaderContextIsSet(boolean value)TabletClientService.startScan_argssetColumns(List<TColumn> columns)voidsetColumnsIsSet(boolean value)TabletClientService.startScan_argssetCredentials(TCredentials credentials)voidsetCredentialsIsSet(boolean value)TabletClientService.startScan_argssetExecutionHints(Map<String,String> executionHints)voidsetExecutionHintsIsSet(boolean value)TabletClientService.startScan_argssetExtent(TKeyExtent extent)voidsetExtentIsSet(boolean value)voidsetFieldValue(TabletClientService.startScan_args._Fields field, Object value)TabletClientService.startScan_argssetIsolated(boolean isolated)voidsetIsolatedIsSet(boolean value)TabletClientService.startScan_argssetRange(TRange range)voidsetRangeIsSet(boolean value)TabletClientService.startScan_argssetReadaheadThreshold(long readaheadThreshold)voidsetReadaheadThresholdIsSet(boolean value)TabletClientService.startScan_argssetSamplerConfig(TSamplerConfiguration samplerConfig)voidsetSamplerConfigIsSet(boolean value)TabletClientService.startScan_argssetSsiList(List<IterInfo> ssiList)voidsetSsiListIsSet(boolean value)TabletClientService.startScan_argssetSsio(Map<String,Map<String,String>> ssio)voidsetSsioIsSet(boolean value)TabletClientService.startScan_argssetTinfo(TInfo tinfo)voidsetTinfoIsSet(boolean value)TabletClientService.startScan_argssetWaitForWrites(boolean waitForWrites)voidsetWaitForWritesIsSet(boolean value)StringtoString()voidunsetAuthorizations()voidunsetBatchSize()voidunsetBatchTimeOut()voidunsetClassLoaderContext()voidunsetColumns()voidunsetCredentials()voidunsetExecutionHints()voidunsetExtent()voidunsetIsolated()voidunsetRange()voidunsetReadaheadThreshold()voidunsetSamplerConfig()voidunsetSsiList()voidunsetSsio()voidunsetTinfo()voidunsetWaitForWrites()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tinfo
public TInfo tinfo
-
credentials
public TCredentials credentials
-
extent
public TKeyExtent extent
-
range
public TRange range
-
batchSize
public int batchSize
-
authorizations
public List<ByteBuffer> authorizations
-
waitForWrites
public boolean waitForWrites
-
isolated
public boolean isolated
-
readaheadThreshold
public long readaheadThreshold
-
samplerConfig
public TSamplerConfiguration samplerConfig
-
batchTimeOut
public long batchTimeOut
-
classLoaderContext
public String classLoaderContext
-
metaDataMap
public static final Map<TabletClientService.startScan_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
startScan_args
public startScan_args()
-
startScan_args
public startScan_args(TInfo tinfo, TCredentials credentials, TKeyExtent extent, TRange range, List<TColumn> columns, int batchSize, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio, List<ByteBuffer> authorizations, boolean waitForWrites, boolean isolated, long readaheadThreshold, TSamplerConfiguration samplerConfig, long batchTimeOut, String classLoaderContext, Map<String,String> executionHints)
-
startScan_args
public startScan_args(TabletClientService.startScan_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TabletClientService.startScan_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TabletClientService.startScan_args,TabletClientService.startScan_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TabletClientService.startScan_args,TabletClientService.startScan_args._Fields>
-
getTinfo
public TInfo getTinfo()
-
setTinfo
public TabletClientService.startScan_args setTinfo(TInfo tinfo)
-
unsetTinfo
public void unsetTinfo()
-
isSetTinfo
public boolean isSetTinfo()
Returns true if field tinfo is set (has been assigned a value) and false otherwise
-
setTinfoIsSet
public void setTinfoIsSet(boolean value)
-
getCredentials
public TCredentials getCredentials()
-
setCredentials
public TabletClientService.startScan_args setCredentials(TCredentials credentials)
-
unsetCredentials
public void unsetCredentials()
-
isSetCredentials
public boolean isSetCredentials()
Returns true if field credentials is set (has been assigned a value) and false otherwise
-
setCredentialsIsSet
public void setCredentialsIsSet(boolean value)
-
getExtent
public TKeyExtent getExtent()
-
setExtent
public TabletClientService.startScan_args 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)
-
getRange
public TRange getRange()
-
setRange
public TabletClientService.startScan_args setRange(TRange range)
-
unsetRange
public void unsetRange()
-
isSetRange
public boolean isSetRange()
Returns true if field range is set (has been assigned a value) and false otherwise
-
setRangeIsSet
public void setRangeIsSet(boolean value)
-
getColumnsSize
public int getColumnsSize()
-
addToColumns
public void addToColumns(TColumn elem)
-
setColumns
public TabletClientService.startScan_args 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)
-
getBatchSize
public int getBatchSize()
-
setBatchSize
public TabletClientService.startScan_args setBatchSize(int batchSize)
-
unsetBatchSize
public void unsetBatchSize()
-
isSetBatchSize
public boolean isSetBatchSize()
Returns true if field batchSize is set (has been assigned a value) and false otherwise
-
setBatchSizeIsSet
public void setBatchSizeIsSet(boolean value)
-
getSsiListSize
public int getSsiListSize()
-
addToSsiList
public void addToSsiList(IterInfo elem)
-
setSsiList
public TabletClientService.startScan_args 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 TabletClientService.startScan_args 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)
-
isWaitForWrites
public boolean isWaitForWrites()
-
setWaitForWrites
public TabletClientService.startScan_args setWaitForWrites(boolean waitForWrites)
-
unsetWaitForWrites
public void unsetWaitForWrites()
-
isSetWaitForWrites
public boolean isSetWaitForWrites()
Returns true if field waitForWrites is set (has been assigned a value) and false otherwise
-
setWaitForWritesIsSet
public void setWaitForWritesIsSet(boolean value)
-
isIsolated
public boolean isIsolated()
-
setIsolated
public TabletClientService.startScan_args setIsolated(boolean isolated)
-
unsetIsolated
public void unsetIsolated()
-
isSetIsolated
public boolean isSetIsolated()
Returns true if field isolated is set (has been assigned a value) and false otherwise
-
setIsolatedIsSet
public void setIsolatedIsSet(boolean value)
-
getReadaheadThreshold
public long getReadaheadThreshold()
-
setReadaheadThreshold
public TabletClientService.startScan_args setReadaheadThreshold(long readaheadThreshold)
-
unsetReadaheadThreshold
public void unsetReadaheadThreshold()
-
isSetReadaheadThreshold
public boolean isSetReadaheadThreshold()
Returns true if field readaheadThreshold is set (has been assigned a value) and false otherwise
-
setReadaheadThresholdIsSet
public void setReadaheadThresholdIsSet(boolean value)
-
getSamplerConfig
public TSamplerConfiguration getSamplerConfig()
-
setSamplerConfig
public TabletClientService.startScan_args setSamplerConfig(TSamplerConfiguration samplerConfig)
-
unsetSamplerConfig
public void unsetSamplerConfig()
-
isSetSamplerConfig
public boolean isSetSamplerConfig()
Returns true if field samplerConfig is set (has been assigned a value) and false otherwise
-
setSamplerConfigIsSet
public void setSamplerConfigIsSet(boolean value)
-
getBatchTimeOut
public long getBatchTimeOut()
-
setBatchTimeOut
public TabletClientService.startScan_args setBatchTimeOut(long batchTimeOut)
-
unsetBatchTimeOut
public void unsetBatchTimeOut()
-
isSetBatchTimeOut
public boolean isSetBatchTimeOut()
Returns true if field batchTimeOut is set (has been assigned a value) and false otherwise
-
setBatchTimeOutIsSet
public void setBatchTimeOutIsSet(boolean value)
-
getClassLoaderContext
public String getClassLoaderContext()
-
setClassLoaderContext
public TabletClientService.startScan_args 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)
-
getExecutionHintsSize
public int getExecutionHintsSize()
-
setExecutionHints
public TabletClientService.startScan_args setExecutionHints(Map<String,String> executionHints)
-
unsetExecutionHints
public void unsetExecutionHints()
-
isSetExecutionHints
public boolean isSetExecutionHints()
Returns true if field executionHints is set (has been assigned a value) and false otherwise
-
setExecutionHintsIsSet
public void setExecutionHintsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TabletClientService.startScan_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TabletClientService.startScan_args,TabletClientService.startScan_args._Fields>
-
getFieldValue
public Object getFieldValue(TabletClientService.startScan_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TabletClientService.startScan_args,TabletClientService.startScan_args._Fields>
-
isSet
public boolean isSet(TabletClientService.startScan_args._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<TabletClientService.startScan_args,TabletClientService.startScan_args._Fields>
-
equals
public boolean equals(TabletClientService.startScan_args that)
-
compareTo
public int compareTo(TabletClientService.startScan_args other)
- Specified by:
compareToin interfaceComparable<TabletClientService.startScan_args>
-
fieldForId
public TabletClientService.startScan_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TabletClientService.startScan_args,TabletClientService.startScan_args._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
-
-