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.physicalLayer.expressionOperators   
org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators   
org.apache.pig.builtin This package contains builtin Pig UDFs. 
org.apache.pig.impl.builtin   
org.apache.pig.impl.logicalLayer.schema   
org.apache.pig.impl.util   
org.apache.pig.newplan.logical   
org.apache.pig.newplan.logical.visitor   
org.apache.pig.scripting.js   
org.apache.pig.scripting.jython   
 

Uses of Schema in org.apache.pig
 

Methods in org.apache.pig that return Schema
 Schema PigServer.dumpSchema(String alias)
          Write the schema for an alias to System.out.
 Schema PigServer.dumpSchemaNested(String alias, String nestedAlias)
          Write the schema for a nestedAlias to System.out.
 Schema FuncSpec.getInputArgsSchema()
           
 Schema EvalFunc.outputSchema(Schema input)
          Report the schema of the output of this UDF.
 

Methods in org.apache.pig with parameters of type Schema
protected  String EvalFunc.getSchemaName(String name, Schema input)
           
 Schema EvalFunc.outputSchema(Schema input)
          Report the schema of the output of this UDF.
 void FuncSpec.setInputArgsSchema(Schema inputArgsSchema)
           
 

Constructors in org.apache.pig with parameters of type Schema
FuncSpec(String funcSpec, Schema inputArgsSchema)
           
FuncSpec(String className, String[] ctorArgs, Schema inputArgsSchema)
           
ResourceSchema(Schema pigSchema)
          Construct a ResourceSchema from a Schema
ResourceSchema(Schema pigSchema, SortInfo sortInfo)
          Only for use by Pig internal code.
 

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)
           
 void POStore.setSchema(Schema schema)
           
 

Uses of Schema in org.apache.pig.builtin
 

Methods in org.apache.pig.builtin that return Schema
 Schema UPPER.outputSchema(Schema input)
          This method gives a name to the column.
 Schema UCFIRST.outputSchema(Schema input)
           
 Schema TupleSize.outputSchema(Schema input)
           
 Schema TRIM.outputSchema(Schema input)
           
 Schema TOTUPLE.outputSchema(Schema input)
           
 Schema TOP.outputSchema(Schema input)
           
 Schema TOMAP.outputSchema(Schema input)
           
 Schema TOKENIZE.outputSchema(Schema input)
           
 Schema TOBAG.outputSchema(Schema inputSch)
           
 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 SUBSTRING.outputSchema(Schema input)
           
 Schema SIZE.outputSchema(Schema input)
           
 Schema ROUND.outputSchema(Schema input)
           
 Schema REPLACE.outputSchema(Schema input)
           
 Schema REGEX_EXTRACT_ALL.outputSchema(Schema input)
           
 Schema REGEX_EXTRACT.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 LongAbs.outputSchema(Schema input)
           
 Schema LOWER.outputSchema(Schema input)
          This method gives a name to the column.
 Schema LCFIRST.outputSchema(Schema input)
           
 Schema LAST_INDEX_OF.outputSchema(Schema input)
           
 Schema IntSum.outputSchema(Schema input)
           
 Schema IntMin.outputSchema(Schema input)
           
 Schema IntMax.outputSchema(Schema input)
           
 Schema IntAvg.outputSchema(Schema input)
           
 Schema IntAbs.outputSchema(Schema input)
           
 Schema INDEXOF.outputSchema(Schema input)
           
 Schema GenericInvoker.outputSchema(Schema input)
           
 Schema FloatSum.outputSchema(Schema input)
           
 Schema FloatRound.outputSchema(Schema input)
           
 Schema FloatMin.outputSchema(Schema input)
           
 Schema FloatMax.outputSchema(Schema input)
           
 Schema FloatAvg.outputSchema(Schema input)
           
 Schema FloatAbs.outputSchema(Schema input)
           
 Schema DoubleSum.outputSchema(Schema input)
           
 Schema DoubleRound.outputSchema(Schema input)
           
 Schema DoubleMin.outputSchema(Schema input)
           
 Schema DoubleMax.outputSchema(Schema input)
           
 Schema DoubleAvg.outputSchema(Schema input)
           
 Schema DoubleAbs.outputSchema(Schema input)
           
 Schema ConstantSize.outputSchema(Schema input)
           
 Schema COV.outputSchema(Schema input)
           
 Schema COUNT_STAR.outputSchema(Schema input)
           
 Schema COUNT.outputSchema(Schema input)
           
 Schema COR.outputSchema(Schema input)
           
 Schema CONCAT.outputSchema(Schema input)
           
 Schema Base.outputSchema(Schema input)
           
 Schema BagSize.outputSchema(Schema input)
           
 Schema AVG.outputSchema(Schema input)
           
 Schema ARITY.outputSchema(Schema input)
          Deprecated.  
 Schema ABS.outputSchema(Schema input)
           
 

Methods in org.apache.pig.builtin with parameters of type Schema
 Schema UPPER.outputSchema(Schema input)
          This method gives a name to the column.
 Schema UCFIRST.outputSchema(Schema input)
           
 Schema TupleSize.outputSchema(Schema input)
           
 Schema TRIM.outputSchema(Schema input)
           
 Schema TOTUPLE.outputSchema(Schema input)
           
 Schema TOP.outputSchema(Schema input)
           
 Schema TOMAP.outputSchema(Schema input)
           
 Schema TOKENIZE.outputSchema(Schema input)
           
 Schema TOBAG.outputSchema(Schema inputSch)
           
 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 SUBSTRING.outputSchema(Schema input)
           
 Schema SIZE.outputSchema(Schema input)
           
 Schema ROUND.outputSchema(Schema input)
           
 Schema REPLACE.outputSchema(Schema input)
           
 Schema REGEX_EXTRACT_ALL.outputSchema(Schema input)
           
 Schema REGEX_EXTRACT.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 LongAbs.outputSchema(Schema input)
           
 Schema LOWER.outputSchema(Schema input)
          This method gives a name to the column.
 Schema LCFIRST.outputSchema(Schema input)
           
 Schema LAST_INDEX_OF.outputSchema(Schema input)
           
 Schema IntSum.outputSchema(Schema input)
           
 Schema IntMin.outputSchema(Schema input)
           
 Schema IntMax.outputSchema(Schema input)
           
 Schema IntAvg.outputSchema(Schema input)
           
 Schema IntAbs.outputSchema(Schema input)
           
 Schema INDEXOF.outputSchema(Schema input)
           
 Schema GenericInvoker.outputSchema(Schema input)
           
 Schema FloatSum.outputSchema(Schema input)
           
 Schema FloatRound.outputSchema(Schema input)
           
 Schema FloatMin.outputSchema(Schema input)
           
 Schema FloatMax.outputSchema(Schema input)
           
 Schema FloatAvg.outputSchema(Schema input)
           
 Schema FloatAbs.outputSchema(Schema input)
           
 Schema DoubleSum.outputSchema(Schema input)
           
 Schema DoubleRound.outputSchema(Schema input)
           
 Schema DoubleMin.outputSchema(Schema input)
           
 Schema DoubleMax.outputSchema(Schema input)
           
 Schema DoubleAvg.outputSchema(Schema input)
           
 Schema DoubleAbs.outputSchema(Schema input)
           
 Schema ConstantSize.outputSchema(Schema input)
           
 Schema COV.outputSchema(Schema input)
           
 Schema COUNT_STAR.outputSchema(Schema input)
           
 Schema COUNT.outputSchema(Schema input)
           
 Schema COR.outputSchema(Schema input)
           
 Schema CONCAT.outputSchema(Schema input)
           
 Schema Base.outputSchema(Schema input)
           
 Schema BagSize.outputSchema(Schema input)
           
 Schema AVG.outputSchema(Schema input)
           
 Schema ARITY.outputSchema(Schema input)
          Deprecated.  
 Schema ABS.outputSchema(Schema input)
           
 

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

Methods in org.apache.pig.impl.builtin that return Schema
 Schema IdentityColumn.outputSchema(Schema input)
           
 

Methods in org.apache.pig.impl.builtin with parameters of type Schema
 Schema IdentityColumn.outputSchema(Schema input)
           
 

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)
           
static Schema Schema.getPigSchema(ResourceSchema rSchema)
           
 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 Schema.mergeSchemaByAlias(Schema schema1, Schema schema2)
          Merges two schemas using their column aliases (unlike mergeSchema(..) functions which merge using positions) Schema will not be merged if types are incompatible, as per DataType.mergeType(..) For Tuples and Bags, SubSchemas have to be equal be considered compatible
static Schema Schema.mergeSchemasByAlias(Collection<Schema> schemas)
          Merges collection of schemas using their column aliases (unlike mergeSchema(..) functions which merge using positions) Schema will not be merged if types are incompatible, as per DataType.mergeType(..) For Tuples and Bags, SubSchemas have to be equal be considered compatible
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
static Schema Schema.mergeSchemaByAlias(Schema schema1, Schema schema2)
          Merges two schemas using their column aliases (unlike mergeSchema(..) functions which merge using positions) Schema will not be merged if types are incompatible, as per DataType.mergeType(..) For Tuples and Bags, SubSchemas have to be equal be considered compatible
 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)
           
 

Method parameters in org.apache.pig.impl.logicalLayer.schema with type arguments of type Schema
static Schema Schema.mergeSchemasByAlias(Collection<Schema> schemas)
          Merges collection of schemas using their column aliases (unlike mergeSchema(..) functions which merge using positions) Schema will not be merged if types are incompatible, as per DataType.mergeType(..) For Tuples and Bags, SubSchemas have to be equal be considered compatible
 

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.util
 

Methods in org.apache.pig.impl.util that return Schema
static Schema Utils.getSchemaFromString(String schemaString)
           
static Schema Utils.getScriptSchema(String loadFuncSignature, org.apache.hadoop.conf.Configuration conf)
          A helper function for retrieving the script schema set by the LOLoad function.
 

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

Uses of Schema in org.apache.pig.newplan.logical
 

Methods in org.apache.pig.newplan.logical that return Schema
static Schema Util.fixSchemaAddTupleInBag(Schema sch)
          If schema argument has fields where a bag does not contain a tuple schema, it inserts a tuple schema.
static Schema Util.translateSchema(LogicalSchema schema)
          This function translates the new LogicalSchema into old Schema format required by PhysicalOperators
 

Methods in org.apache.pig.newplan.logical with parameters of type Schema
static Schema Util.fixSchemaAddTupleInBag(Schema sch)
          If schema argument has fields where a bag does not contain a tuple schema, it inserts a tuple schema.
static LogicalSchema Util.translateSchema(Schema schema)
           
 

Uses of Schema in org.apache.pig.newplan.logical.visitor
 

Methods in org.apache.pig.newplan.logical.visitor with parameters of type Schema
static boolean TypeCheckingExpVisitor.schemaEqualsForMatching(Schema inputSchema, Schema udfSchema, boolean ignoreByteArrays)
          Compare two schemas for equality for argument matching purposes.
 

Uses of Schema in org.apache.pig.scripting.js
 

Methods in org.apache.pig.scripting.js that return Schema
 Schema JsFunction.outputSchema(Schema input)
           
 

Methods in org.apache.pig.scripting.js with parameters of type Schema
 Schema JsFunction.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.scripting.jython
 

Methods in org.apache.pig.scripting.jython that return Schema
 Schema JythonFunction.outputSchema(Schema input)
           
 

Methods in org.apache.pig.scripting.jython with parameters of type Schema
 Schema JythonFunction.outputSchema(Schema input)
           
 



Copyright © ${year} The Apache Software Foundation