Class VespaQuerySchema
- java.lang.Object
-
- com.yahoo.vespa.hadoop.mapreduce.util.VespaQuerySchema
-
- All Implemented Interfaces:
Iterable<VespaQuerySchema.AliasTypePair>
public class VespaQuerySchema extends Object implements Iterable<VespaQuerySchema.AliasTypePair>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VespaQuerySchema.AliasTypePair
-
Constructor Summary
Constructors Constructor Description VespaQuerySchema(String schema)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.pig.data.Tuple
buildTuple(int rank, com.fasterxml.jackson.databind.JsonNode hit)
static org.apache.pig.impl.logicalLayer.schema.Schema
getPigSchema(String schemaString)
Iterator<VespaQuerySchema.AliasTypePair>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
VespaQuerySchema
public VespaQuerySchema(String schema)
-
-
Method Detail
-
buildTuple
public org.apache.pig.data.Tuple buildTuple(int rank, com.fasterxml.jackson.databind.JsonNode hit)
-
getPigSchema
public static org.apache.pig.impl.logicalLayer.schema.Schema getPigSchema(String schemaString)
-
iterator
public Iterator<VespaQuerySchema.AliasTypePair> iterator()
- Specified by:
iterator
in interfaceIterable<VespaQuerySchema.AliasTypePair>
-
-