@Generated(value="Autogenerated by Thrift Compiler (0.11.0)", date="2018-12-28") public class BloomFilterPageHeader extends Object implements org.apache.thrift.TBase<BloomFilterPageHeader,BloomFilterPageHeader._Fields>, Serializable, Cloneable, Comparable<BloomFilterPageHeader>
| Modifier and Type | Class and Description |
|---|---|
static class |
BloomFilterPageHeader._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
BloomFilterAlgorithm |
algorithm
The algorithm for setting bits.
|
BloomFilterHash |
hash
The hash function used for Bloom filter.
|
static Map<BloomFilterPageHeader._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
numBytes
The size of bitset in bytes *
|
| Constructor and Description |
|---|
BloomFilterPageHeader() |
BloomFilterPageHeader(BloomFilterPageHeader other)
Performs a deep copy on other.
|
BloomFilterPageHeader(int numBytes,
BloomFilterAlgorithm algorithm,
BloomFilterHash hash) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(BloomFilterPageHeader other) |
BloomFilterPageHeader |
deepCopy() |
boolean |
equals(BloomFilterPageHeader that) |
boolean |
equals(Object that) |
BloomFilterPageHeader._Fields |
fieldForId(int fieldId) |
BloomFilterAlgorithm |
getAlgorithm()
The algorithm for setting bits.
|
Object |
getFieldValue(BloomFilterPageHeader._Fields field) |
BloomFilterHash |
getHash()
The hash function used for Bloom filter.
|
int |
getNumBytes()
The size of bitset in bytes *
|
int |
hashCode() |
boolean |
isSet(BloomFilterPageHeader._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAlgorithm()
Returns true if field algorithm is set (has been assigned a value) and false otherwise
|
boolean |
isSetHash()
Returns true if field hash is set (has been assigned a value) and false otherwise
|
boolean |
isSetNumBytes()
Returns true if field numBytes is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
BloomFilterPageHeader |
setAlgorithm(BloomFilterAlgorithm algorithm)
The algorithm for setting bits.
|
void |
setAlgorithmIsSet(boolean value) |
void |
setFieldValue(BloomFilterPageHeader._Fields field,
Object value) |
BloomFilterPageHeader |
setHash(BloomFilterHash hash)
The hash function used for Bloom filter.
|
void |
setHashIsSet(boolean value) |
BloomFilterPageHeader |
setNumBytes(int numBytes)
The size of bitset in bytes *
|
void |
setNumBytesIsSet(boolean value) |
String |
toString() |
void |
unsetAlgorithm() |
void |
unsetHash() |
void |
unsetNumBytes() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int numBytes
public BloomFilterAlgorithm algorithm
public BloomFilterHash hash
public static final Map<BloomFilterPageHeader._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public BloomFilterPageHeader()
public BloomFilterPageHeader(int numBytes,
BloomFilterAlgorithm algorithm,
BloomFilterHash hash)
public BloomFilterPageHeader(BloomFilterPageHeader other)
public BloomFilterPageHeader deepCopy()
deepCopy in interface org.apache.thrift.TBase<BloomFilterPageHeader,BloomFilterPageHeader._Fields>public void clear()
clear in interface org.apache.thrift.TBase<BloomFilterPageHeader,BloomFilterPageHeader._Fields>public int getNumBytes()
public BloomFilterPageHeader setNumBytes(int numBytes)
public void unsetNumBytes()
public boolean isSetNumBytes()
public void setNumBytesIsSet(boolean value)
public BloomFilterAlgorithm getAlgorithm()
public BloomFilterPageHeader setAlgorithm(BloomFilterAlgorithm algorithm)
public void unsetAlgorithm()
public boolean isSetAlgorithm()
public void setAlgorithmIsSet(boolean value)
public BloomFilterHash getHash()
public BloomFilterPageHeader setHash(BloomFilterHash hash)
public void unsetHash()
public boolean isSetHash()
public void setHashIsSet(boolean value)
public void setFieldValue(BloomFilterPageHeader._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<BloomFilterPageHeader,BloomFilterPageHeader._Fields>public Object getFieldValue(BloomFilterPageHeader._Fields field)
getFieldValue in interface org.apache.thrift.TBase<BloomFilterPageHeader,BloomFilterPageHeader._Fields>public boolean isSet(BloomFilterPageHeader._Fields field)
isSet in interface org.apache.thrift.TBase<BloomFilterPageHeader,BloomFilterPageHeader._Fields>public boolean equals(BloomFilterPageHeader that)
public int compareTo(BloomFilterPageHeader other)
compareTo in interface Comparable<BloomFilterPageHeader>public BloomFilterPageHeader._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<BloomFilterPageHeader,BloomFilterPageHeader._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.