Search in sources :

Example 6 with ParseException

use of com.yahoo.document.select.parser.ParseException in project vespa by vespa-engine.

the class VespaDocumentDeserializer42 method read.

public void read(FieldPathUpdate update) {
    String fieldPath = getString(null);
    String whereClause = getString(null);
    update.setFieldPath(fieldPath);
    try {
        update.setWhereClause(whereClause);
    } catch (ParseException e) {
        throw new DeserializationException(e);
    }
}
Also used : Utf8String(com.yahoo.text.Utf8String) ParseException(com.yahoo.document.select.parser.ParseException)

Aggregations

ParseException (com.yahoo.document.select.parser.ParseException)6 SelectionExpressionConverter (com.yahoo.document.select.convert.SelectionExpressionConverter)2 IdString (com.yahoo.document.idstring.IdString)1 DocumentSelector (com.yahoo.document.select.DocumentSelector)1 TokenMgrError (com.yahoo.document.select.parser.TokenMgrError)1 ProgressToken (com.yahoo.documentapi.ProgressToken)1 VisitorParameters (com.yahoo.documentapi.VisitorParameters)1 DocsumPacket (com.yahoo.fs4.DocsumPacket)1 Packet (com.yahoo.fs4.Packet)1 QueryPacket (com.yahoo.fs4.QueryPacket)1 FastHit (com.yahoo.prelude.fastsearch.FastHit)1 GroupingListHit (com.yahoo.prelude.fastsearch.GroupingListHit)1 TimeoutException (com.yahoo.prelude.fastsearch.TimeoutException)1 Result (com.yahoo.search.Result)1 Grouping (com.yahoo.searchlib.aggregation.Grouping)1 Utf8String (com.yahoo.text.Utf8String)1 DocumentSummary (com.yahoo.vdslib.DocumentSummary)1 SearchResult (com.yahoo.vdslib.SearchResult)1 IOException (java.io.IOException)1