@Generated(value="Autogenerated by Thrift Compiler (0.11.0)") public class TSummary extends Object implements org.apache.thrift.TBase<TSummary,TSummary._Fields>, Serializable, Cloneable, Comparable<TSummary>
Modifier and Type | Class and Description |
---|---|
static class |
TSummary._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TSummarizerConfiguration |
config |
long |
filesContaining |
long |
filesExceeding |
long |
filesLarge |
static Map<TSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<String,Long> |
summary |
Constructor and Description |
---|
TSummary() |
TSummary(Map<String,Long> summary,
TSummarizerConfiguration config,
long filesContaining,
long filesExceeding,
long filesLarge) |
TSummary(TSummary other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TSummary other) |
TSummary |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TSummary that) |
TSummary._Fields |
fieldForId(int fieldId) |
TSummarizerConfiguration |
getConfig() |
Object |
getFieldValue(TSummary._Fields field) |
long |
getFilesContaining() |
long |
getFilesExceeding() |
long |
getFilesLarge() |
Map<String,Long> |
getSummary() |
int |
getSummarySize() |
int |
hashCode() |
boolean |
isSet(TSummary._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetConfig()
Returns true if field config is set (has been assigned a value) and false otherwise
|
boolean |
isSetFilesContaining()
Returns true if field filesContaining is set (has been assigned a value) and false otherwise
|
boolean |
isSetFilesExceeding()
Returns true if field filesExceeding is set (has been assigned a value) and false otherwise
|
boolean |
isSetFilesLarge()
Returns true if field filesLarge is set (has been assigned a value) and false otherwise
|
boolean |
isSetSummary()
Returns true if field summary is set (has been assigned a value) and false otherwise
|
void |
putToSummary(String key,
long val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TSummary |
setConfig(TSummarizerConfiguration config) |
void |
setConfigIsSet(boolean value) |
void |
setFieldValue(TSummary._Fields field,
Object value) |
TSummary |
setFilesContaining(long filesContaining) |
void |
setFilesContainingIsSet(boolean value) |
TSummary |
setFilesExceeding(long filesExceeding) |
void |
setFilesExceedingIsSet(boolean value) |
TSummary |
setFilesLarge(long filesLarge) |
void |
setFilesLargeIsSet(boolean value) |
TSummary |
setSummary(Map<String,Long> summary) |
void |
setSummaryIsSet(boolean value) |
String |
toString() |
void |
unsetConfig() |
void |
unsetFilesContaining() |
void |
unsetFilesExceeding() |
void |
unsetFilesLarge() |
void |
unsetSummary() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TSummarizerConfiguration config
public long filesContaining
public long filesExceeding
public long filesLarge
public static final Map<TSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TSummary()
public TSummary(Map<String,Long> summary, TSummarizerConfiguration config, long filesContaining, long filesExceeding, long filesLarge)
public TSummary(TSummary other)
public TSummary deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TSummary,TSummary._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TSummary,TSummary._Fields>
public int getSummarySize()
public void putToSummary(String key, long val)
public void unsetSummary()
public boolean isSetSummary()
public void setSummaryIsSet(boolean value)
public TSummarizerConfiguration getConfig()
public TSummary setConfig(TSummarizerConfiguration config)
public void unsetConfig()
public boolean isSetConfig()
public void setConfigIsSet(boolean value)
public long getFilesContaining()
public TSummary setFilesContaining(long filesContaining)
public void unsetFilesContaining()
public boolean isSetFilesContaining()
public void setFilesContainingIsSet(boolean value)
public long getFilesExceeding()
public TSummary setFilesExceeding(long filesExceeding)
public void unsetFilesExceeding()
public boolean isSetFilesExceeding()
public void setFilesExceedingIsSet(boolean value)
public long getFilesLarge()
public TSummary setFilesLarge(long filesLarge)
public void unsetFilesLarge()
public boolean isSetFilesLarge()
public void setFilesLargeIsSet(boolean value)
public void setFieldValue(TSummary._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TSummary,TSummary._Fields>
public Object getFieldValue(TSummary._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TSummary,TSummary._Fields>
public boolean isSet(TSummary._Fields field)
isSet
in interface org.apache.thrift.TBase<TSummary,TSummary._Fields>
public boolean equals(TSummary that)
public int compareTo(TSummary other)
compareTo
in interface Comparable<TSummary>
public TSummary._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TSummary,TSummary._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.