Uses of Class
org.apache.pig.impl.logicalLayer.schema.Schema

Packages that use Schema
org.apache.pig Public interfaces and classes for Pig. 
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer   
org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators   
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators   
org.apache.pig.backend.hadoop.hbase   
org.apache.pig.backend.local.executionengine   
org.apache.pig.builtin   
org.apache.pig.impl.builtin   
org.apache.pig.impl.logicalLayer The logical operators that represent a pig script and tools for manipulating those operators. 
org.apache.pig.impl.logicalLayer.schema   
org.apache.pig.impl.logicalLayer.validators   
org.apache.pig.impl.util   
 

Uses of Schema in org.apache.pig
 

Methods in org.apache.pig that return Schema
 Schema LoadFunc.determineSchema(String fileName, ExecType execType, DataStorage storage)
          Find the schema from the loader.
 Schema PigServer.dumpSchema(String alias)
           
 Schema FuncSpec.getInputArgsSchema()
           
 Schema StoreConfig.getSchema()
           
 Schema EvalFunc.outputSchema(Schema input)
           
 

Methods in org.apache.pig with parameters of type Schema
protected  String EvalFunc.getSchemaName(String name, Schema input)
           
 Schema EvalFunc.outputSchema(Schema input)
           
 void FuncSpec.setInputArgsSchema(Schema inputArgsSchema)
           
 void StoreConfig.setSchema(Schema schema)
           
 

Constructors in org.apache.pig with parameters of type Schema
FuncSpec(String funcSpec, Schema inputArgsSchema)
           
FuncSpec(String className, String[] ctorArgs, Schema inputArgsSchema)
           
StoreConfig(String location, Schema schema, SortInfo sortInfo)
           
 

Uses of Schema in org.apache.pig.backend.hadoop.executionengine.mapReduceLayer
 

Methods in org.apache.pig.backend.hadoop.executionengine.mapReduceLayer with parameters of type Schema
 StoreFunc MapReducePOStoreImpl.createStoreFunc(FileSpec sFile, Schema schema, SortInfo sortInfo)
           
 

Uses of Schema in org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators
 

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators that return Schema
 Schema POUserFunc.outputSchema(Schema input)
           
 

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators with parameters of type Schema
 Schema POUserFunc.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators
 

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators that return Schema
 Schema POStore.getSchema()
           
 Schema POSkewedJoin.getSchema(int i)
           
 

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators with parameters of type Schema
 void POSkewedJoin.addSchema(Schema s)
           
abstract  StoreFunc POStoreImpl.createStoreFunc(FileSpec sFile, Schema schema, SortInfo sortInfo)
          Set up the storer
 void POStore.setSchema(Schema schema)
           
 

Uses of Schema in org.apache.pig.backend.hadoop.hbase
 

Methods in org.apache.pig.backend.hadoop.hbase that return Schema
 Schema HBaseStorage.determineSchema(String fileName, ExecType execType, DataStorage storage)
           
 

Uses of Schema in org.apache.pig.backend.local.executionengine
 

Methods in org.apache.pig.backend.local.executionengine with parameters of type Schema
 StoreFunc LocalPOStoreImpl.createStoreFunc(FileSpec sFile, Schema schema, SortInfo sortInfo)
           
 

Uses of Schema in org.apache.pig.builtin
 

Methods in org.apache.pig.builtin that return Schema
 Schema TextLoader.determineSchema(String fileName, ExecType execType, DataStorage storage)
          TextLoader does not provide a schema.
 Schema PigStorage.determineSchema(String fileName, ExecType execType, DataStorage storage)
           
 Schema BinaryStorage.determineSchema(String fileName, ExecType execType, DataStorage storage)
           
 Schema BinStorage.determineSchema(String fileName, ExecType execType, DataStorage storage)
           
 Schema TupleSize.outputSchema(Schema input)
           
 Schema TOKENIZE.outputSchema(Schema input)
           
 Schema StringSize.outputSchema(Schema input)
           
 Schema StringMin.outputSchema(Schema input)
           
 Schema StringMax.outputSchema(Schema input)
           
 Schema StringConcat.outputSchema(Schema input)
           
 Schema SUM.outputSchema(Schema input)
           
 Schema SIZE.outputSchema(Schema input)
           
 Schema RANDOM.outputSchema(Schema input)
           
 Schema MapSize.outputSchema(Schema input)
           
 Schema MIN.outputSchema(Schema input)
           
 Schema MAX.outputSchema(Schema input)
           
 Schema LongSum.outputSchema(Schema input)
           
 Schema LongMin.outputSchema(Schema input)
           
 Schema LongMax.outputSchema(Schema input)
           
 Schema LongAvg.outputSchema(Schema input)
           
 Schema IntSum.outputSchema(Schema input)
           
 Schema IntMin.outputSchema(Schema input)
           
 Schema IntMax.outputSchema(Schema input)
           
 Schema IntAvg.outputSchema(Schema input)
           
 Schema FloatSum.outputSchema(Schema input)
           
 Schema FloatMin.outputSchema(Schema input)
           
 Schema FloatMax.outputSchema(Schema input)
           
 Schema FloatAvg.outputSchema(Schema input)
           
 Schema DoubleSum.outputSchema(Schema input)
           
 Schema DoubleMin.outputSchema(Schema input)
           
 Schema DoubleMax.outputSchema(Schema input)
           
 Schema DoubleAvg.outputSchema(Schema input)
           
 Schema ConstantSize.outputSchema(Schema input)
           
 Schema COUNT_STAR.outputSchema(Schema input)
           
 Schema COUNT.outputSchema(Schema input)
           
 Schema CONCAT.outputSchema(Schema input)
           
 Schema BagSize.outputSchema(Schema input)
           
 Schema AVG.outputSchema(Schema input)
           
 Schema ARITY.outputSchema(Schema input)
           
 

Methods in org.apache.pig.builtin with parameters of type Schema
 Schema TupleSize.outputSchema(Schema input)
           
 Schema TOKENIZE.outputSchema(Schema input)
           
 Schema StringSize.outputSchema(Schema input)
           
 Schema StringMin.outputSchema(Schema input)
           
 Schema StringMax.outputSchema(Schema input)
           
 Schema StringConcat.outputSchema(Schema input)
           
 Schema SUM.outputSchema(Schema input)
           
 Schema SIZE.outputSchema(Schema input)
           
 Schema RANDOM.outputSchema(Schema input)
           
 Schema MapSize.outputSchema(Schema input)
           
 Schema MIN.outputSchema(Schema input)
           
 Schema MAX.outputSchema(Schema input)
           
 Schema LongSum.outputSchema(Schema input)
           
 Schema LongMin.outputSchema(Schema input)
           
 Schema LongMax.outputSchema(Schema input)
           
 Schema LongAvg.outputSchema(Schema input)
           
 Schema IntSum.outputSchema(Schema input)
           
 Schema IntMin.outputSchema(Schema input)
           
 Schema IntMax.outputSchema(Schema input)
           
 Schema IntAvg.outputSchema(Schema input)
           
 Schema FloatSum.outputSchema(Schema input)
           
 Schema FloatMin.outputSchema(Schema input)
           
 Schema FloatMax.outputSchema(Schema input)
           
 Schema FloatAvg.outputSchema(Schema input)
           
 Schema DoubleSum.outputSchema(Schema input)
           
 Schema DoubleMin.outputSchema(Schema input)
           
 Schema DoubleMax.outputSchema(Schema input)
           
 Schema DoubleAvg.outputSchema(Schema input)
           
 Schema ConstantSize.outputSchema(Schema input)
           
 Schema COUNT_STAR.outputSchema(Schema input)
           
 Schema COUNT.outputSchema(Schema input)
           
 Schema CONCAT.outputSchema(Schema input)
           
 Schema BagSize.outputSchema(Schema input)
           
 Schema AVG.outputSchema(Schema input)
           
 Schema ARITY.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.impl.builtin
 

Methods in org.apache.pig.impl.builtin that return Schema
 Schema SampleLoader.determineSchema(String fileName, ExecType execType, DataStorage storage)
           
 Schema MergeJoinIndexer.determineSchema(String fileName, ExecType execType, DataStorage storage)
           
 Schema DefaultIndexableLoader.determineSchema(String fileName, ExecType execType, DataStorage storage)
           
 

Uses of Schema in org.apache.pig.impl.logicalLayer
 

Fields in org.apache.pig.impl.logicalLayer declared as Schema
protected  Schema LogicalOperator.mSchema
          Schema that defines the output of this operator.
 

Methods in org.apache.pig.impl.logicalLayer that return Schema
 Schema LOLoad.getDeterminedSchema()
           
 Schema LOLoad.getEnforcedSchema()
           
abstract  Schema LogicalOperator.getSchema()
          Get a copy of the schema for the output of this operator.
 Schema LOUserFunc.getSchema()
           
 Schema LOUnion.getSchema()
           
 Schema LOSubtract.getSchema()
           
 Schema LOStream.getSchema()
           
 Schema LOStore.getSchema()
           
 Schema LOSplitOutput.getSchema()
           
 Schema LOSplit.getSchema()
           
 Schema LOSort.getSchema()
           
 Schema LORegexp.getSchema()
           
 Schema LOProject.getSchema()
           
 Schema LOOr.getSchema()
           
 Schema LONotEqual.getSchema()
           
 Schema LONot.getSchema()
           
 Schema LONegative.getSchema()
           
 Schema LOMultiply.getSchema()
           
 Schema LOMod.getSchema()
           
 Schema LOMapLookup.getSchema()
           
 Schema LOLoad.getSchema()
           
 Schema LOLimit.getSchema()
           
 Schema LOLesserThanEqual.getSchema()
           
 Schema LOLesserThan.getSchema()
           
 Schema LOJoin.getSchema()
           
 Schema LOIsNull.getSchema()
           
 Schema LOGreaterThanEqual.getSchema()
           
 Schema LOGreaterThan.getSchema()
           
 Schema LOGenerate.getSchema()
           
 Schema LOForEach.getSchema()
           
 Schema LOFilter.getSchema()
           
 Schema LOEqual.getSchema()
           
 Schema LODivide.getSchema()
           
 Schema LODistinct.getSchema()
           
 Schema LODefine.getSchema()
           
 Schema LOCross.getSchema()
           
 Schema LOConst.getSchema()
           
 Schema LOCogroup.getSchema()
           
 Schema LOCast.getSchema()
           
 Schema LOBinCond.getSchema()
           
 Schema LOAnd.getSchema()
           
 Schema LOAdd.getSchema()
           
 Schema ExpressionOperator.getSchema()
           
 Schema LOCogroup.getTupleGroupBySchema()
           
 Schema LOJoin.getTupleJoinSchema()
           
 Schema LogicalOperator.regenerateSchema()
          Regenerate the schema by unsetting and getting the schema
 

Methods in org.apache.pig.impl.logicalLayer that return types with arguments of type Schema
 List<Schema> LOGenerate.getUserDefinedSchema()
           
 List<Schema> LOForEach.getUserDefinedSchema()
           
 

Methods in org.apache.pig.impl.logicalLayer with parameters of type Schema
 void LogicalOperator.forceSchema(Schema schema)
          Directly force the schema without reconcilation Please use with great care
protected  void LogicalOperator.reconcileSchema(Schema schema)
          Given a schema, reconcile it with our existing schema.
 void LOLoad.setEnforcedSchema(Schema enforcedSchema)
          Set this when user enforces schema
 void LogicalOperator.setSchema(Schema schema)
          Set the output schema for this operator.
 void LOLoad.setSchema(Schema schema)
           
 

Method parameters in org.apache.pig.impl.logicalLayer with type arguments of type Schema
 void LOForEach.setUserDefinedSchema(ArrayList<Schema> userDefinedSchema)
           
 

Constructors in org.apache.pig.impl.logicalLayer with parameters of type Schema
LOMapLookup(LogicalPlan plan, OperatorKey key, String mapKey, byte valueType, Schema valueSchema)
           
 

Constructor parameters in org.apache.pig.impl.logicalLayer with type arguments of type Schema
LOForEach(LogicalPlan plan, OperatorKey k, ArrayList<LogicalPlan> foreachPlans, ArrayList<Boolean> flattenList, ArrayList<Schema> userDefinedSchemaList)
           
LOGenerate(LogicalPlan plan, OperatorKey key, ArrayList<LogicalPlan> generatePlans, ArrayList<Boolean> flatten, ArrayList<Schema> userDefinedSchemaList)
           
 

Uses of Schema in org.apache.pig.impl.logicalLayer.schema
 

Fields in org.apache.pig.impl.logicalLayer.schema declared as Schema
 Schema Schema.FieldSchema.schema
          If this is a tuple itself, it can have a schema.
 

Methods in org.apache.pig.impl.logicalLayer.schema that return Schema
 Schema Schema.clone()
          Make a deep copy of a schema.
static Schema Schema.generateNestedSchema(byte topLevelType, byte... innerTypes)
           
 Schema Schema.merge(Schema other, boolean otherTakesAliasPrecedence)
          Merge this schema with the other schema
 Schema Schema.mergePrefixSchema(Schema other, boolean otherTakesAliasPrecedence)
          Recursively prefix merge two schemas
 Schema Schema.mergePrefixSchema(Schema other, boolean otherTakesAliasPrecedence, boolean allowMergeableTypes)
          Recursively prefix merge two schemas
static Schema Schema.mergeSchema(Schema schema, Schema other, boolean otherTakesAliasPrecedence)
          Recursively merge two schemas
static Schema Schema.mergeSchema(Schema schema, Schema other, boolean otherTakesAliasPrecedence, boolean allowDifferentSizeMerge, boolean allowIncompatibleTypes)
          Recursively merge two schemas
static Schema SchemaUtil.newBagSchema(Byte[] dataTypes)
          Create a new tuple schema according one array: the type of fields, the tuple name is t, and the bag name is b.
static Schema SchemaUtil.newBagSchema(List<Byte> dataTypes)
          Create a new tuple schema according one list: types of fields, the default names of fields are f0,f1,f2..., and the tuple is t, the bag name is b.
static Schema SchemaUtil.newBagSchema(List<String> names, List<Byte> dataTypes)
          Create a bag schema according two list: name of fields, type of fields, and the default bag name is b, the default tuple name is t.
static Schema SchemaUtil.newBagSchema(String[] names, Byte[] dataTypes)
          Create a new tuple schema according two arrays: names of field,types of fields.
static Schema SchemaUtil.newBagSchema(String bagName, String tupleName, List<String> fieldNames, List<Byte> dataTypes)
          Create a bag schema according the bag name,tuple name and two list: name of fields, type of fields
static Schema SchemaUtil.newBagSchema(String bagName, String tupleName, String[] fieldNames, Byte[] dataTypes)
           
static Schema SchemaUtil.newTupleSchema(Byte[] dataTypes)
          Create a new tuple schema according one array: types of fields, the default names of fields are f0,f1,f2..., and the tuple name is t.
static Schema SchemaUtil.newTupleSchema(List<Byte> dataTypes)
          Create a new tuple schema according one list: types of fields, the default names of fields are f0,f1,f2..., and the tuple name is t.
static Schema SchemaUtil.newTupleSchema(List<String> fieldNames, List<Byte> dataTypes)
          Create a new tuple schema according the two list: names of fields, types of fields, the default tuple name is t.
static Schema SchemaUtil.newTupleSchema(String[] names, Byte[] dataTypes)
          Create a new tuple schema according the two arrays: names of fields, types of fields, the default tuple name is t.
static Schema SchemaUtil.newTupleSchema(String tupleName, List<String> fieldNames, List<Byte> dataTypes)
          Create a new tuple schema according the tuple name and two list: names of fields, types of fields
static Schema SchemaUtil.newTupleSchema(String tupleName, String[] fieldNames, Byte[] dataTypes)
          Create a new tuple schema according the tuple name and two arrays: names of fields, types of fields
 

Methods in org.apache.pig.impl.logicalLayer.schema with parameters of type Schema
static boolean Schema.castable(Schema cast, Schema input)
          Recursively compare two schemas to check if the input schema can be cast to the cast schema
static boolean Schema.equals(Schema schema, Schema other, boolean relaxInner, boolean relaxAlias)
          Recursively compare two schemas for equality
 Schema Schema.merge(Schema other, boolean otherTakesAliasPrecedence)
          Merge this schema with the other schema
 Schema Schema.mergePrefixSchema(Schema other, boolean otherTakesAliasPrecedence)
          Recursively prefix merge two schemas
 Schema Schema.mergePrefixSchema(Schema other, boolean otherTakesAliasPrecedence, boolean allowMergeableTypes)
          Recursively prefix merge two schemas
static Schema Schema.mergeSchema(Schema schema, Schema other, boolean otherTakesAliasPrecedence)
          Recursively merge two schemas
static Schema Schema.mergeSchema(Schema schema, Schema other, boolean otherTakesAliasPrecedence, boolean allowDifferentSizeMerge, boolean allowIncompatibleTypes)
          Recursively merge two schemas
 void Schema.reconcile(Schema other)
          Reconcile this schema with another schema.
static void Schema.setSchemaDefaultType(Schema s, byte t)
          Recursively set NULL type to the specifid type in a schema
static void Schema.stringifySchema(StringBuilder sb, Schema schema, byte type)
           
 

Constructors in org.apache.pig.impl.logicalLayer.schema with parameters of type Schema
Schema.FieldSchema(String a, Schema s)
          Constructor for tuple fields.
Schema.FieldSchema(String a, Schema s, byte t)
          Constructor for tuple fields.
Schema(Schema s)
          Copy Constructor.
 

Uses of Schema in org.apache.pig.impl.logicalLayer.validators
 

Methods in org.apache.pig.impl.logicalLayer.validators that return Schema
 Schema TypeCheckingVisitor.getTupleGroupBySchema(LOCogroup cg)
           
 

Methods in org.apache.pig.impl.logicalLayer.validators with parameters of type Schema
static boolean TypeCheckingVisitor.schemaEqualsForMatching(Schema inputSchema, Schema udfSchema, boolean ignoreByteArrays)
          Compare two schemas for equality for argument matching purposes.
 

Uses of Schema in org.apache.pig.impl.util
 

Methods in org.apache.pig.impl.util with parameters of type Schema
static void CompilerUtils.addEmptyBagOuterJoin(PhysicalPlan fePlan, Schema inputSchema)
           
 



Copyright © ${year} The Apache Software Foundation