Class TSummaryRequest
- java.lang.Object
-
- org.apache.accumulo.core.dataImpl.thrift.TSummaryRequest
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TSummaryRequest>
,org.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>
,org.apache.thrift.TSerializable
public class TSummaryRequest extends Object implements org.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>, Serializable, Cloneable, Comparable<TSummaryRequest>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TSummaryRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TRowRange
bounds
static Map<TSummaryRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
String
summarizerPattern
List<TSummarizerConfiguration>
summarizers
String
tableId
-
Constructor Summary
Constructors Constructor Description TSummaryRequest()
TSummaryRequest(String tableId, TRowRange bounds, List<TSummarizerConfiguration> summarizers, String summarizerPattern)
TSummaryRequest(TSummaryRequest other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToSummarizers(TSummarizerConfiguration elem)
void
clear()
int
compareTo(TSummaryRequest other)
TSummaryRequest
deepCopy()
boolean
equals(Object that)
boolean
equals(TSummaryRequest that)
TSummaryRequest._Fields
fieldForId(int fieldId)
TRowRange
getBounds()
Object
getFieldValue(TSummaryRequest._Fields field)
String
getSummarizerPattern()
List<TSummarizerConfiguration>
getSummarizers()
Iterator<TSummarizerConfiguration>
getSummarizersIterator()
int
getSummarizersSize()
String
getTableId()
int
hashCode()
boolean
isSet(TSummaryRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetBounds()
Returns true if field bounds is set (has been assigned a value) and false otherwiseboolean
isSetSummarizerPattern()
Returns true if field summarizerPattern is set (has been assigned a value) and false otherwiseboolean
isSetSummarizers()
Returns true if field summarizers is set (has been assigned a value) and false otherwiseboolean
isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
TSummaryRequest
setBounds(TRowRange bounds)
void
setBoundsIsSet(boolean value)
void
setFieldValue(TSummaryRequest._Fields field, Object value)
TSummaryRequest
setSummarizerPattern(String summarizerPattern)
void
setSummarizerPatternIsSet(boolean value)
TSummaryRequest
setSummarizers(List<TSummarizerConfiguration> summarizers)
void
setSummarizersIsSet(boolean value)
TSummaryRequest
setTableId(String tableId)
void
setTableIdIsSet(boolean value)
String
toString()
void
unsetBounds()
void
unsetSummarizerPattern()
void
unsetSummarizers()
void
unsetTableId()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
tableId
public String tableId
-
bounds
public TRowRange bounds
-
summarizers
public List<TSummarizerConfiguration> summarizers
-
summarizerPattern
public String summarizerPattern
-
metaDataMap
public static final Map<TSummaryRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TSummaryRequest
public TSummaryRequest()
-
TSummaryRequest
public TSummaryRequest(String tableId, TRowRange bounds, List<TSummarizerConfiguration> summarizers, String summarizerPattern)
-
TSummaryRequest
public TSummaryRequest(TSummaryRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TSummaryRequest deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>
-
getTableId
public String getTableId()
-
setTableId
public TSummaryRequest 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)
-
getBounds
public TRowRange getBounds()
-
setBounds
public TSummaryRequest setBounds(TRowRange bounds)
-
unsetBounds
public void unsetBounds()
-
isSetBounds
public boolean isSetBounds()
Returns true if field bounds is set (has been assigned a value) and false otherwise
-
setBoundsIsSet
public void setBoundsIsSet(boolean value)
-
getSummarizersSize
public int getSummarizersSize()
-
getSummarizersIterator
public Iterator<TSummarizerConfiguration> getSummarizersIterator()
-
addToSummarizers
public void addToSummarizers(TSummarizerConfiguration elem)
-
getSummarizers
public List<TSummarizerConfiguration> getSummarizers()
-
setSummarizers
public TSummaryRequest setSummarizers(List<TSummarizerConfiguration> summarizers)
-
unsetSummarizers
public void unsetSummarizers()
-
isSetSummarizers
public boolean isSetSummarizers()
Returns true if field summarizers is set (has been assigned a value) and false otherwise
-
setSummarizersIsSet
public void setSummarizersIsSet(boolean value)
-
getSummarizerPattern
public String getSummarizerPattern()
-
setSummarizerPattern
public TSummaryRequest setSummarizerPattern(String summarizerPattern)
-
unsetSummarizerPattern
public void unsetSummarizerPattern()
-
isSetSummarizerPattern
public boolean isSetSummarizerPattern()
Returns true if field summarizerPattern is set (has been assigned a value) and false otherwise
-
setSummarizerPatternIsSet
public void setSummarizerPatternIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TSummaryRequest._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>
-
getFieldValue
public Object getFieldValue(TSummaryRequest._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>
-
isSet
public boolean isSet(TSummaryRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>
-
equals
public boolean equals(TSummaryRequest that)
-
compareTo
public int compareTo(TSummaryRequest other)
- Specified by:
compareTo
in interfaceComparable<TSummaryRequest>
-
fieldForId
public TSummaryRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TSummaryRequest,TSummaryRequest._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in 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:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-