public interface Field
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(Predicate.Op op,
Field value)
Compare the value of this field object to the passed in value.
|
boolean |
equals(java.lang.Object field) |
Type |
getType()
Returns the type of this field (see
Type.INT_TYPE or Type.STRING_TYPE |
int |
hashCode()
Hash code.
|
void |
serialize(java.io.DataOutputStream dos)
Write the bytes representing this field to the specified
DataOutputStream.
|
java.lang.String |
toString() |
void serialize(java.io.DataOutputStream dos)
throws java.io.IOException
dos - The DataOutputStream to write to.java.io.IOExceptionDataOutputStreamboolean compare(Predicate.Op op, Field value)
op - The operatorvalue - The value to compare this Field toType getType()
Type.INT_TYPE or Type.STRING_TYPEint hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object field)
equals in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Object