public class PredicateFieldValue extends FieldValue
FieldValue.RecursiveIteratorHandler
Modifier and Type | Field and Description |
---|---|
private com.yahoo.document.predicate.Predicate |
predicate |
classId
Constructor and Description |
---|
PredicateFieldValue() |
PredicateFieldValue(com.yahoo.document.predicate.Predicate predicate) |
PredicateFieldValue(String predicateString) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Object o)
Assign this non-fieldvalue value to this field value.
|
void |
clear() |
PredicateFieldValue |
clone() |
void |
deserialize(Field field,
FieldReader reader)
Read a field value from the specified reader
|
boolean |
equals(Object obj) |
DataType |
getDataType() |
static PrimitiveDataType.Factory |
getFactory() |
com.yahoo.document.predicate.Predicate |
getPredicate() |
Object |
getWrappedValue()
Used to retrieve wrapped type for simple types, such that you can use get methods to retrieve ints and floats
directly instead of Int/Float field values.
|
int |
hashCode() |
void |
printXml(XmlStream xml) |
void |
serialize(Field field,
FieldWriter writer)
Write out field value to the specified writer
|
PredicateFieldValue |
setPredicate(com.yahoo.document.predicate.Predicate predicate) |
String |
toString() |
checkAssign, compareTo, create, deserialize, getRecursiveValue, getRecursiveValue, iterateNested, onDeserialize, onSerialize, serialize, toXml
public PredicateFieldValue()
public PredicateFieldValue(com.yahoo.document.predicate.Predicate predicate)
public PredicateFieldValue(String predicateString)
public com.yahoo.document.predicate.Predicate getPredicate()
public PredicateFieldValue setPredicate(com.yahoo.document.predicate.Predicate predicate)
public DataType getDataType()
getDataType
in class FieldValue
public void printXml(XmlStream xml)
printXml
in class FieldValue
public void clear()
clear
in class FieldValue
public void assign(Object o)
FieldValue
Override to accept the specific types that should be legal.
assign
in class FieldValue
public void serialize(Field field, FieldWriter writer)
FieldValue
serialize
in class FieldValue
public void deserialize(Field field, FieldReader reader)
FieldValue
deserialize
in class FieldValue
public Object getWrappedValue()
FieldValue
getWrappedValue
in class FieldValue
public PredicateFieldValue clone()
clone
in class FieldValue
public int hashCode()
hashCode
in class com.yahoo.vespa.objects.Identifiable
public boolean equals(Object obj)
equals
in class com.yahoo.vespa.objects.Identifiable
public String toString()
toString
in class com.yahoo.vespa.objects.Identifiable
public static PrimitiveDataType.Factory getFactory()
Copyright © 2018. All rights reserved.