Package com.yahoo.vespa.indexinglanguage
Class SimpleDocumentFieldValues
java.lang.Object
com.yahoo.vespa.indexinglanguage.SimpleDocumentFieldValues
- All Implemented Interfaces:
DocumentFieldValues,FieldTypes,FieldValues
- Author:
- Simon Thoresen Hult
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleDocumentFieldValues(com.yahoo.document.Document input) Creates an instance with empty outputSimpleDocumentFieldValues(com.yahoo.document.Document input, com.yahoo.document.Document output) -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.document.DataTypegetFieldType(String fieldName, Expression exp) com.yahoo.document.Documentcom.yahoo.document.datatypes.FieldValuegetInputValue(com.yahoo.document.FieldPath fieldPath) com.yahoo.document.datatypes.FieldValuegetInputValue(String fieldName) com.yahoo.document.DocumentsetOutputValue(String fieldName, com.yahoo.document.datatypes.FieldValue fieldValue, Expression exp) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.vespa.indexinglanguage.DocumentFieldValues
isComplete
-
Constructor Details
-
SimpleDocumentFieldValues
public SimpleDocumentFieldValues(com.yahoo.document.Document input) Creates an instance with empty output -
SimpleDocumentFieldValues
public SimpleDocumentFieldValues(com.yahoo.document.Document input, com.yahoo.document.Document output)
-
-
Method Details
-
getFullOutput
public com.yahoo.document.Document getFullOutput()- Specified by:
getFullOutputin interfaceDocumentFieldValues
-
getUpdatableOutput
public com.yahoo.document.Document getUpdatableOutput()- Specified by:
getUpdatableOutputin interfaceDocumentFieldValues
-
getFieldType
- Specified by:
getFieldTypein interfaceFieldTypes
-
getInputValue
- Specified by:
getInputValuein interfaceFieldValues
-
getInputValue
public com.yahoo.document.datatypes.FieldValue getInputValue(com.yahoo.document.FieldPath fieldPath) - Specified by:
getInputValuein interfaceFieldValues
-
setOutputValue
public SimpleDocumentFieldValues setOutputValue(String fieldName, com.yahoo.document.datatypes.FieldValue fieldValue, Expression exp) - Specified by:
setOutputValuein interfaceFieldValues
-
toString
-