Package com.yahoo.vespa.hadoop.pig
com.yahoo.vespa.hadoop.pig contains classes and utilities
to enable feeding directly to Vespa endpoints from pig.
It is a minimal layer over the Vespa HTTP client.
NOTE: This is a PUBLIC API, but not annotated as such because this is not a bundle and
we don't want to introduce Vespa dependencies.
-
Class Summary Class Description VespaDocumentOperation A Pig UDF to convert simple Pig types into a valid Vespa JSON document format.VespaQuery A Pig UDF to run a query against a Vespa cluster and return the results.VespaSimpleJsonLoader Simple JSON loader which loads either one JSON object per line or a multiline JSON consisting of objects in an array.VespaStorage A small Pig UDF wrapper around the Vespa http client for feeding data into a Vespa endpoint. -
Enum Summary Enum Description VespaDocumentOperation.Operation