public final class IndexExpression
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.nio.ByteBuffer |
column |
Operator |
operator |
java.nio.ByteBuffer |
value |
Constructor and Description |
---|
IndexExpression(java.nio.ByteBuffer column,
Operator operator,
java.nio.ByteBuffer value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isContains()
Checks if the operator of this
IndexExpression is a CONTAINS operator. |
boolean |
isContainsKey()
Checks if the operator of this
IndexExpression is a CONTAINS_KEY operator. |
static IndexExpression |
readFrom(java.io.DataInput input)
Deserializes an
IndexExpression instance from the specified input. |
java.lang.String |
toString() |
void |
writeTo(DataOutputPlus output)
Write the serialized version of this
IndexExpression to the specified output. |
public final java.nio.ByteBuffer column
public final Operator operator
public final java.nio.ByteBuffer value
public IndexExpression(java.nio.ByteBuffer column, Operator operator, java.nio.ByteBuffer value)
public boolean isContains()
IndexExpression
is a CONTAINS
operator.true
if the operator of this IndexExpression
is a CONTAINS
operator, false
otherwise.public boolean isContainsKey()
IndexExpression
is a CONTAINS_KEY
operator.true
if the operator of this IndexExpression
is a CONTAINS_KEY
operator, false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void writeTo(DataOutputPlus output) throws java.io.IOException
IndexExpression
to the specified output.output
- the output to write tojava.io.IOException
- if an I/O problem occurs while writing to the specified outputpublic static IndexExpression readFrom(java.io.DataInput input) throws java.io.IOException
IndexExpression
instance from the specified input.input
- the input to read fromIndexExpression
instance deserializedjava.io.IOException
- if a problem occurs while deserializing the IndexExpression
instance.Copyright © 2019 The Apache Software Foundation