public class KeyRange extends java.lang.Object implements org.apache.thrift.TBase<KeyRange,KeyRange._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<KeyRange>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | KeyRange._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. | 
| Modifier and Type | Field and Description | 
|---|---|
| int | count | 
| java.nio.ByteBuffer | end_key | 
| java.lang.String | end_token | 
| static java.util.Map<KeyRange._Fields,org.apache.thrift.meta_data.FieldMetaData> | metaDataMap | 
| java.util.List<IndexExpression> | row_filter | 
| java.nio.ByteBuffer | start_key | 
| java.lang.String | start_token | 
| Constructor and Description | 
|---|
| KeyRange() | 
| KeyRange(int count) | 
| KeyRange(KeyRange other)Performs a deep copy on other. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addToRow_filter(IndexExpression elem) | 
| java.nio.ByteBuffer | bufferForEnd_key() | 
| java.nio.ByteBuffer | bufferForStart_key() | 
| void | clear() | 
| int | compareTo(KeyRange other) | 
| KeyRange | deepCopy() | 
| boolean | equals(KeyRange that) | 
| boolean | equals(java.lang.Object that) | 
| KeyRange._Fields | fieldForId(int fieldId) | 
| int | getCount() | 
| byte[] | getEnd_key() | 
| java.lang.String | getEnd_token() | 
| java.lang.Object | getFieldValue(KeyRange._Fields field) | 
| java.util.List<IndexExpression> | getRow_filter() | 
| java.util.Iterator<IndexExpression> | getRow_filterIterator() | 
| int | getRow_filterSize() | 
| byte[] | getStart_key() | 
| java.lang.String | getStart_token() | 
| int | hashCode() | 
| boolean | isSet(KeyRange._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise | 
| boolean | isSetCount()Returns true if field count is set (has been assigned a value) and false otherwise | 
| boolean | isSetEnd_key()Returns true if field end_key is set (has been assigned a value) and false otherwise | 
| boolean | isSetEnd_token()Returns true if field end_token is set (has been assigned a value) and false otherwise | 
| boolean | isSetRow_filter()Returns true if field row_filter is set (has been assigned a value) and false otherwise | 
| boolean | isSetStart_key()Returns true if field start_key is set (has been assigned a value) and false otherwise | 
| boolean | isSetStart_token()Returns true if field start_token is set (has been assigned a value) and false otherwise | 
| void | read(org.apache.thrift.protocol.TProtocol iprot) | 
| KeyRange | setCount(int count) | 
| void | setCountIsSet(boolean value) | 
| KeyRange | setEnd_key(byte[] end_key) | 
| KeyRange | setEnd_key(java.nio.ByteBuffer end_key) | 
| void | setEnd_keyIsSet(boolean value) | 
| KeyRange | setEnd_token(java.lang.String end_token) | 
| void | setEnd_tokenIsSet(boolean value) | 
| void | setFieldValue(KeyRange._Fields field,
             java.lang.Object value) | 
| KeyRange | setRow_filter(java.util.List<IndexExpression> row_filter) | 
| void | setRow_filterIsSet(boolean value) | 
| KeyRange | setStart_key(byte[] start_key) | 
| KeyRange | setStart_key(java.nio.ByteBuffer start_key) | 
| void | setStart_keyIsSet(boolean value) | 
| KeyRange | setStart_token(java.lang.String start_token) | 
| void | setStart_tokenIsSet(boolean value) | 
| java.lang.String | toString() | 
| void | unsetCount() | 
| void | unsetEnd_key() | 
| void | unsetEnd_token() | 
| void | unsetRow_filter() | 
| void | unsetStart_key() | 
| void | unsetStart_token() | 
| void | validate() | 
| void | write(org.apache.thrift.protocol.TProtocol oprot) | 
public java.nio.ByteBuffer start_key
public java.nio.ByteBuffer end_key
public java.lang.String start_token
public java.lang.String end_token
public java.util.List<IndexExpression> row_filter
public int count
public static final java.util.Map<KeyRange._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public KeyRange()
public KeyRange(int count)
public KeyRange(KeyRange other)
public KeyRange deepCopy()
deepCopy in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>public void clear()
clear in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>public byte[] getStart_key()
public java.nio.ByteBuffer bufferForStart_key()
public KeyRange setStart_key(byte[] start_key)
public KeyRange setStart_key(java.nio.ByteBuffer start_key)
public void unsetStart_key()
public boolean isSetStart_key()
public void setStart_keyIsSet(boolean value)
public byte[] getEnd_key()
public java.nio.ByteBuffer bufferForEnd_key()
public KeyRange setEnd_key(byte[] end_key)
public KeyRange setEnd_key(java.nio.ByteBuffer end_key)
public void unsetEnd_key()
public boolean isSetEnd_key()
public void setEnd_keyIsSet(boolean value)
public java.lang.String getStart_token()
public KeyRange setStart_token(java.lang.String start_token)
public void unsetStart_token()
public boolean isSetStart_token()
public void setStart_tokenIsSet(boolean value)
public java.lang.String getEnd_token()
public KeyRange setEnd_token(java.lang.String end_token)
public void unsetEnd_token()
public boolean isSetEnd_token()
public void setEnd_tokenIsSet(boolean value)
public int getRow_filterSize()
public java.util.Iterator<IndexExpression> getRow_filterIterator()
public void addToRow_filter(IndexExpression elem)
public java.util.List<IndexExpression> getRow_filter()
public KeyRange setRow_filter(java.util.List<IndexExpression> row_filter)
public void unsetRow_filter()
public boolean isSetRow_filter()
public void setRow_filterIsSet(boolean value)
public int getCount()
public KeyRange setCount(int count)
public void unsetCount()
public boolean isSetCount()
public void setCountIsSet(boolean value)
public void setFieldValue(KeyRange._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>public java.lang.Object getFieldValue(KeyRange._Fields field)
getFieldValue in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>public boolean isSet(KeyRange._Fields field)
isSet in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(KeyRange that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(KeyRange other)
compareTo in interface java.lang.Comparable<KeyRange>public KeyRange._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<KeyRange,KeyRange._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
              throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2018 The Apache Software Foundation