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.builtin.mock   
org.apache.pig.data This package contains implementations of Pig specific data types as well as support functions for reading, writing, and using all Pig data types. 
org.apache.pig.data.utils   
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.piggybank.evaluation   
org.apache.pig.piggybank.evaluation.datetime   
org.apache.pig.piggybank.evaluation.datetime.convert   
org.apache.pig.piggybank.evaluation.datetime.diff   
org.apache.pig.piggybank.evaluation.datetime.truncate   
org.apache.pig.piggybank.evaluation.decode   
org.apache.pig.piggybank.evaluation.math   
org.apache.pig.piggybank.evaluation.stats   
org.apache.pig.piggybank.evaluation.string   
org.apache.pig.piggybank.evaluation.util   
org.apache.pig.scripting.groovy   
org.apache.pig.scripting.jruby   
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.getInputSchema()
          This method is intended to be called by the user in EvalFunc to get the input schema of the EvalFunc
 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)
           
 void EvalFunc.setInputSchema(Schema input)
          This method is for internal use.
 

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)
           
 

Constructors in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators with parameters of type Schema
POForEach(OperatorKey operatorKey, int requestedParallelism, List<PhysicalPlan> innerPlans, List<Boolean> flattenList, Schema schema)
           
POFRJoin(OperatorKey k, int rp, List<PhysicalOperator> inp, List<List<PhysicalPlan>> ppLists, List<List<Byte>> keyTypes, FileSpec[] replFiles, int fragment, boolean isLeftOuter, Tuple nullTuple, Schema[] inputSchemas, Schema[] keySchemas)
           
POFRJoin(OperatorKey k, int rp, List<PhysicalOperator> inp, List<List<PhysicalPlan>> ppLists, List<List<Byte>> keyTypes, FileSpec[] replFiles, int fragment, boolean isLeftOuter, Tuple nullTuple, Schema[] inputSchemas, Schema[] keySchemas)
           
POMergeJoin(OperatorKey k, int rp, List<PhysicalOperator> inp, MultiMap<PhysicalOperator,PhysicalPlan> inpPlans, List<List<Byte>> keyTypes, LOJoin.JOINTYPE joinType, Schema leftInputSchema, Schema rightInputSchema, Schema mergedInputSchema)
           
 

Uses of Schema in org.apache.pig.builtin
 

Methods in org.apache.pig.builtin that return Schema
 Schema YearsBetween.outputSchema(Schema input)
           
 Schema WeeksBetween.outputSchema(Schema input)
           
 Schema VALUESET.outputSchema(Schema input)
           
 Schema VALUELIST.outputSchema(Schema input)
           
 Schema UPPER.outputSchema(Schema input)
          This method gives a name to the column.
 Schema UCFIRST.outputSchema(Schema input)
           
 Schema TupleSize.outputSchema(Schema input)
           
 Schema ToUnixTime.outputSchema(Schema input)
           
 Schema ToString.outputSchema(Schema input)
           
 Schema ToMilliSeconds.outputSchema(Schema input)
           
 Schema ToDate.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 SubtractDuration.outputSchema(Schema input)
           
 Schema StringSize.outputSchema(Schema input)
           
 Schema StringMin.outputSchema(Schema input)
           
 Schema StringMax.outputSchema(Schema input)
           
 Schema StringConcat.outputSchema(Schema input)
           
 Schema SecondsBetween.outputSchema(Schema input)
           
 Schema SUBSTRING.outputSchema(Schema input)
           
 Schema STRSPLIT.outputSchema(Schema input)
           
 Schema STARTSWITH.outputSchema(Schema input)
           
 Schema SIZE.outputSchema(Schema input)
           
 Schema RollupDimensions.outputSchema(Schema input)
           
 Schema RTRIM.outputSchema(Schema input)
           
 Schema ROUND_TO.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 PluckTuple.outputSchema(Schema inputSchema)
           
 Schema MonthsBetween.outputSchema(Schema input)
           
 Schema MinutesBetween.outputSchema(Schema input)
           
 Schema MilliSecondsBetween.outputSchema(Schema input)
           
 Schema MapSize.outputSchema(Schema input)
           
 Schema LongAvg.outputSchema(Schema input)
           
 Schema LongAbs.outputSchema(Schema input)
           
 Schema LTRIM.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 KEYSET.outputSchema(Schema input)
           
 Schema InvokerGenerator.outputSchema(Schema input)
           
 Schema IntAvg.outputSchema(Schema input)
           
 Schema IntAbs.outputSchema(Schema input)
           
 Schema INVERSEMAP.outputSchema(Schema input)
           
 Schema INDEXOF.outputSchema(Schema input)
           
 Schema HoursBetween.outputSchema(Schema input)
           
 Schema GetYear.outputSchema(Schema input)
           
 Schema GetWeekYear.outputSchema(Schema input)
           
 Schema GetWeek.outputSchema(Schema input)
           
 Schema GetSecond.outputSchema(Schema input)
           
 Schema GetMonth.outputSchema(Schema input)
           
 Schema GetMinute.outputSchema(Schema input)
           
 Schema GetMilliSecond.outputSchema(Schema input)
           
 Schema GetHour.outputSchema(Schema input)
           
 Schema GetDay.outputSchema(Schema input)
           
 Schema GenericInvoker.outputSchema(Schema input)
           
 Schema FloatRound.outputSchema(Schema input)
           
 Schema FloatAvg.outputSchema(Schema input)
           
 Schema FloatAbs.outputSchema(Schema input)
           
 Schema ENDSWITH.outputSchema(Schema input)
           
 Schema DoubleRound.outputSchema(Schema input)
           
 Schema DoubleAvg.outputSchema(Schema input)
           
 Schema DaysBetween.outputSchema(Schema input)
           
 Schema DateTimeMin.outputSchema(Schema input)
           
 Schema DateTimeMax.outputSchema(Schema input)
           
 Schema CubeDimensions.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 BuildBloom.outputSchema(Schema input)
           
 Schema BigIntegerAvg.outputSchema(Schema input)
           
 Schema BigDecimalAvg.outputSchema(Schema input)
           
 Schema Base.outputSchema(Schema input)
           
 Schema BagToTuple.outputSchema(Schema inputSchema)
           
 Schema BagToString.outputSchema(Schema inputSchema)
           
 Schema BagSize.outputSchema(Schema input)
           
 Schema AlgebraicLongMathBase.outputSchema(Schema input)
           
 Schema AlgebraicIntMathBase.outputSchema(Schema input)
           
 Schema AlgebraicFloatMathBase.outputSchema(Schema input)
           
 Schema AlgebraicDoubleMathBase.outputSchema(Schema input)
           
 Schema AlgebraicByteArrayMathBase.outputSchema(Schema input)
           
 Schema AlgebraicBigIntegerMathBase.outputSchema(Schema input)
           
 Schema AlgebraicBigDecimalMathBase.outputSchema(Schema input)
           
 Schema AddDuration.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 YearsBetween.outputSchema(Schema input)
           
 Schema WeeksBetween.outputSchema(Schema input)
           
 Schema VALUESET.outputSchema(Schema input)
           
 Schema VALUELIST.outputSchema(Schema input)
           
 Schema UPPER.outputSchema(Schema input)
          This method gives a name to the column.
 Schema UCFIRST.outputSchema(Schema input)
           
 Schema TupleSize.outputSchema(Schema input)
           
 Schema ToUnixTime.outputSchema(Schema input)
           
 Schema ToString.outputSchema(Schema input)
           
 Schema ToMilliSeconds.outputSchema(Schema input)
           
 Schema ToDate.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 SubtractDuration.outputSchema(Schema input)
           
 Schema StringSize.outputSchema(Schema input)
           
 Schema StringMin.outputSchema(Schema input)
           
 Schema StringMax.outputSchema(Schema input)
           
 Schema StringConcat.outputSchema(Schema input)
           
 Schema SecondsBetween.outputSchema(Schema input)
           
 Schema SUBSTRING.outputSchema(Schema input)
           
 Schema STRSPLIT.outputSchema(Schema input)
           
 Schema STARTSWITH.outputSchema(Schema input)
           
 Schema SIZE.outputSchema(Schema input)
           
 Schema RollupDimensions.outputSchema(Schema input)
           
 Schema RTRIM.outputSchema(Schema input)
           
 Schema ROUND_TO.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 PluckTuple.outputSchema(Schema inputSchema)
           
 Schema MonthsBetween.outputSchema(Schema input)
           
 Schema MinutesBetween.outputSchema(Schema input)
           
 Schema MilliSecondsBetween.outputSchema(Schema input)
           
 Schema MapSize.outputSchema(Schema input)
           
 Schema LongAvg.outputSchema(Schema input)
           
 Schema LongAbs.outputSchema(Schema input)
           
 Schema LTRIM.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 KEYSET.outputSchema(Schema input)
           
 Schema InvokerGenerator.outputSchema(Schema input)
           
 Schema IntAvg.outputSchema(Schema input)
           
 Schema IntAbs.outputSchema(Schema input)
           
 Schema INVERSEMAP.outputSchema(Schema input)
           
 Schema INDEXOF.outputSchema(Schema input)
           
 Schema HoursBetween.outputSchema(Schema input)
           
 Schema GetYear.outputSchema(Schema input)
           
 Schema GetWeekYear.outputSchema(Schema input)
           
 Schema GetWeek.outputSchema(Schema input)
           
 Schema GetSecond.outputSchema(Schema input)
           
 Schema GetMonth.outputSchema(Schema input)
           
 Schema GetMinute.outputSchema(Schema input)
           
 Schema GetMilliSecond.outputSchema(Schema input)
           
 Schema GetHour.outputSchema(Schema input)
           
 Schema GetDay.outputSchema(Schema input)
           
 Schema GenericInvoker.outputSchema(Schema input)
           
 Schema FloatRound.outputSchema(Schema input)
           
 Schema FloatAvg.outputSchema(Schema input)
           
 Schema FloatAbs.outputSchema(Schema input)
           
 Schema ENDSWITH.outputSchema(Schema input)
           
 Schema DoubleRound.outputSchema(Schema input)
           
 Schema DoubleAvg.outputSchema(Schema input)
           
 Schema DaysBetween.outputSchema(Schema input)
           
 Schema DateTimeMin.outputSchema(Schema input)
           
 Schema DateTimeMax.outputSchema(Schema input)
           
 Schema CubeDimensions.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 BuildBloom.outputSchema(Schema input)
           
 Schema BigIntegerAvg.outputSchema(Schema input)
           
 Schema BigDecimalAvg.outputSchema(Schema input)
           
 Schema Base.outputSchema(Schema input)
           
 Schema BagToTuple.outputSchema(Schema inputSchema)
           
 Schema BagToString.outputSchema(Schema inputSchema)
           
 Schema BagSize.outputSchema(Schema input)
           
 Schema AlgebraicLongMathBase.outputSchema(Schema input)
           
 Schema AlgebraicIntMathBase.outputSchema(Schema input)
           
 Schema AlgebraicFloatMathBase.outputSchema(Schema input)
           
 Schema AlgebraicDoubleMathBase.outputSchema(Schema input)
           
 Schema AlgebraicByteArrayMathBase.outputSchema(Schema input)
           
 Schema AlgebraicBigIntegerMathBase.outputSchema(Schema input)
           
 Schema AlgebraicBigDecimalMathBase.outputSchema(Schema input)
           
 Schema AddDuration.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.builtin.mock
 

Methods in org.apache.pig.builtin.mock that return Schema
 Schema Storage.Data.getSchema(String location)
           
static Schema Storage.schema(String schema)
           
 

Methods in org.apache.pig.builtin.mock with parameters of type Schema
 void Storage.Data.set(String location, Schema schema, Collection<Tuple> data)
          to set the data in a location with a known schema
 void Storage.Data.set(String location, Schema schema, Tuple... data)
          to set the data in a location with a known schema
 void Storage.Data.setSchema(String location, Schema schema)
          to set the schema for a given location
 

Uses of Schema in org.apache.pig.data
 

Methods in org.apache.pig.data that return Schema
 Schema TypeAwareTuple.getSchema()
           
protected static Schema SchemaTuple.staticSchemaGen(String s)
           
 

Methods in org.apache.pig.data with parameters of type Schema
protected static void SchemaTupleClassGenerator.generateSchemaTuple(Schema s, boolean appendable, int id, File codeDir, SchemaTupleClassGenerator.GenContext... contexts)
          This class actually generates the code for a given Schema.
static SchemaTupleFactory SchemaTupleFactory.getInstance(Schema s)
           
static SchemaTupleFactory SchemaTupleFactory.getInstance(Schema s, boolean isAppendable)
           
static SchemaTupleFactory SchemaTupleFactory.getInstance(Schema s, boolean isAppendable, SchemaTupleClassGenerator.GenContext context)
          This method is the publicly facing method which returns a SchemaTupleFactory which will generate SchemaTuples of the given Schema.
static boolean SchemaTupleFactory.isGeneratable(Schema s)
          This method inspects a Schema to see whether or not a SchemaTuple implementation can be generated for the types present.
static SchemaTupleFactory SchemaTupleBackend.newSchemaTupleFactory(Schema s, boolean isAppendable, SchemaTupleClassGenerator.GenContext context)
           
static int SchemaTupleFrontend.registerToGenerateIfPossible(Schema udfSchema, boolean isAppendable, SchemaTupleClassGenerator.GenContext context)
          This method "registers" a Schema to be generated.
 

Uses of Schema in org.apache.pig.data.utils
 

Methods in org.apache.pig.data.utils that return Schema
 Schema StructuresHelper.SchemaKey.get()
           
 

Methods in org.apache.pig.data.utils with parameters of type Schema
static int StructuresHelper.SchemaKey.hashCode(Schema s)
           
 

Constructors in org.apache.pig.data.utils with parameters of type Schema
StructuresHelper.SchemaKey(Schema s)
           
 

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

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

Methods in org.apache.pig.impl.builtin with parameters of type Schema
 Schema StreamingUDF.outputSchema(Schema input)
           
 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)
           
static void Schema.stringifySchema(StringBuilder sb, Schema schema, byte type, int indentLevel)
           
 

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.getSchemaFromBagSchemaString(String schemaString)
          getSchemaFromBagSchemaString NOTE: use this call when you need to generate a Schema object from the representation generated by Schema#toString.
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, EvalFunc.SchemaType udfSchemaType, boolean ignoreByteArrays)
          Compare two schemas for equality for argument matching purposes.
 

Uses of Schema in org.apache.pig.piggybank.evaluation
 

Methods in org.apache.pig.piggybank.evaluation that return Schema
 Schema Stitch.outputSchema(Schema inputSch)
           
 Schema Over.outputSchema(Schema inputSch)
           
 Schema MaxTupleBy1stField.outputSchema(Schema input)
           
 Schema IsNumeric.outputSchema(Schema input)
           
 Schema IsLong.outputSchema(Schema input)
           
 Schema IsInt.outputSchema(Schema input)
           
 Schema IsFloat.outputSchema(Schema input)
           
 Schema IsDouble.outputSchema(Schema input)
           
 Schema ExtremalTupleByNthField.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation with parameters of type Schema
 Schema Stitch.outputSchema(Schema inputSch)
           
 Schema Over.outputSchema(Schema inputSch)
           
 Schema MaxTupleBy1stField.outputSchema(Schema input)
           
 Schema IsNumeric.outputSchema(Schema input)
           
 Schema IsLong.outputSchema(Schema input)
           
 Schema IsInt.outputSchema(Schema input)
           
 Schema IsFloat.outputSchema(Schema input)
           
 Schema IsDouble.outputSchema(Schema input)
           
 Schema ExtremalTupleByNthField.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.piggybank.evaluation.datetime
 

Methods in org.apache.pig.piggybank.evaluation.datetime that return Schema
 Schema DiffDate.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation.datetime with parameters of type Schema
 Schema DiffDate.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.piggybank.evaluation.datetime.convert
 

Methods in org.apache.pig.piggybank.evaluation.datetime.convert that return Schema
 Schema UnixToISO.outputSchema(Schema input)
           
 Schema ISOToUnix.outputSchema(Schema input)
           
 Schema CustomFormatToISO.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation.datetime.convert with parameters of type Schema
 Schema UnixToISO.outputSchema(Schema input)
           
 Schema ISOToUnix.outputSchema(Schema input)
           
 Schema CustomFormatToISO.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.piggybank.evaluation.datetime.diff
 

Methods in org.apache.pig.piggybank.evaluation.datetime.diff that return Schema
 Schema ISOYearsBetween.outputSchema(Schema input)
           
 Schema ISOSecondsBetween.outputSchema(Schema input)
           
 Schema ISOMonthsBetween.outputSchema(Schema input)
           
 Schema ISOMinutesBetween.outputSchema(Schema input)
           
 Schema ISOHoursBetween.outputSchema(Schema input)
           
 Schema ISODaysBetween.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation.datetime.diff with parameters of type Schema
 Schema ISOYearsBetween.outputSchema(Schema input)
           
 Schema ISOSecondsBetween.outputSchema(Schema input)
           
 Schema ISOMonthsBetween.outputSchema(Schema input)
           
 Schema ISOMinutesBetween.outputSchema(Schema input)
           
 Schema ISOHoursBetween.outputSchema(Schema input)
           
 Schema ISODaysBetween.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.piggybank.evaluation.datetime.truncate
 

Methods in org.apache.pig.piggybank.evaluation.datetime.truncate that return Schema
 Schema ISOToYear.outputSchema(Schema input)
           
 Schema ISOToWeek.outputSchema(Schema input)
           
 Schema ISOToSecond.outputSchema(Schema input)
           
 Schema ISOToMonth.outputSchema(Schema input)
           
 Schema ISOToMinute.outputSchema(Schema input)
           
 Schema ISOToHour.outputSchema(Schema input)
           
 Schema ISOToDay.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation.datetime.truncate with parameters of type Schema
 Schema ISOToYear.outputSchema(Schema input)
           
 Schema ISOToWeek.outputSchema(Schema input)
           
 Schema ISOToSecond.outputSchema(Schema input)
           
 Schema ISOToMonth.outputSchema(Schema input)
           
 Schema ISOToMinute.outputSchema(Schema input)
           
 Schema ISOToHour.outputSchema(Schema input)
           
 Schema ISOToDay.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.piggybank.evaluation.decode
 

Methods in org.apache.pig.piggybank.evaluation.decode that return Schema
 Schema Decode.outputSchema(Schema input)
           
 Schema BinCond.outputSchema(Schema input)
           
 Schema Bin.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation.decode with parameters of type Schema
 Schema Decode.outputSchema(Schema input)
           
 Schema BinCond.outputSchema(Schema input)
           
 Schema Bin.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.piggybank.evaluation.math
 

Methods in org.apache.pig.piggybank.evaluation.math that return Schema
 Schema nextAfter.outputSchema(Schema input)
           
 Schema getExponent.outputSchema(Schema input)
           
 Schema copySign.outputSchema(Schema input)
           
 Schema ULP.outputSchema(Schema input)
           
 Schema SIGNUM.outputSchema(Schema input)
           
 Schema SCALB.outputSchema(Schema input)
           
 Schema ROUND.outputSchema(Schema input)
          Deprecated.  
 Schema RANDOM.outputSchema(Schema input)
           
 Schema NEXTUP.outputSchema(Schema input)
           
 Schema MIN.outputSchema(Schema input)
           
 Schema MAX.outputSchema(Schema input)
           
 Schema LongMin.outputSchema(Schema input)
           
 Schema LongMax.outputSchema(Schema input)
           
 Schema LongAbs.outputSchema(Schema input)
          Deprecated.  
 Schema IntMin.outputSchema(Schema input)
           
 Schema IntMax.outputSchema(Schema input)
           
 Schema IntAbs.outputSchema(Schema input)
          Deprecated.  
 Schema FloatUlp.outputSchema(Schema input)
           
 Schema FloatSignum.outputSchema(Schema input)
           
 Schema FloatRound.outputSchema(Schema input)
          Deprecated.  
 Schema FloatNextup.outputSchema(Schema input)
           
 Schema FloatNextAfter.outputSchema(Schema input)
           
 Schema FloatMin.outputSchema(Schema input)
           
 Schema FloatMax.outputSchema(Schema input)
           
 Schema FloatGetExponent.outputSchema(Schema input)
           
 Schema FloatCopySign.outputSchema(Schema input)
           
 Schema FloatAbs.outputSchema(Schema input)
          Deprecated.  
 Schema DoubleUlp.outputSchema(Schema input)
           
 Schema DoubleSignum.outputSchema(Schema input)
           
 Schema DoubleRound.outputSchema(Schema input)
          Deprecated.  
 Schema DoubleNextup.outputSchema(Schema input)
           
 Schema DoubleNextAfter.outputSchema(Schema input)
           
 Schema DoubleMin.outputSchema(Schema input)
           
 Schema DoubleMax.outputSchema(Schema input)
           
 Schema DoubleGetExponent.outputSchema(Schema input)
           
 Schema DoubleCopySign.outputSchema(Schema input)
           
 Schema DoubleAbs.outputSchema(Schema input)
          Deprecated.  
 Schema Base.outputSchema(Schema input)
          Deprecated.  
 Schema ABS.outputSchema(Schema input)
          Deprecated.  
 

Methods in org.apache.pig.piggybank.evaluation.math with parameters of type Schema
 Schema nextAfter.outputSchema(Schema input)
           
 Schema getExponent.outputSchema(Schema input)
           
 Schema copySign.outputSchema(Schema input)
           
 Schema ULP.outputSchema(Schema input)
           
 Schema SIGNUM.outputSchema(Schema input)
           
 Schema SCALB.outputSchema(Schema input)
           
 Schema ROUND.outputSchema(Schema input)
          Deprecated.  
 Schema RANDOM.outputSchema(Schema input)
           
 Schema NEXTUP.outputSchema(Schema input)
           
 Schema MIN.outputSchema(Schema input)
           
 Schema MAX.outputSchema(Schema input)
           
 Schema LongMin.outputSchema(Schema input)
           
 Schema LongMax.outputSchema(Schema input)
           
 Schema LongAbs.outputSchema(Schema input)
          Deprecated.  
 Schema IntMin.outputSchema(Schema input)
           
 Schema IntMax.outputSchema(Schema input)
           
 Schema IntAbs.outputSchema(Schema input)
          Deprecated.  
 Schema FloatUlp.outputSchema(Schema input)
           
 Schema FloatSignum.outputSchema(Schema input)
           
 Schema FloatRound.outputSchema(Schema input)
          Deprecated.  
 Schema FloatNextup.outputSchema(Schema input)
           
 Schema FloatNextAfter.outputSchema(Schema input)
           
 Schema FloatMin.outputSchema(Schema input)
           
 Schema FloatMax.outputSchema(Schema input)
           
 Schema FloatGetExponent.outputSchema(Schema input)
           
 Schema FloatCopySign.outputSchema(Schema input)
           
 Schema FloatAbs.outputSchema(Schema input)
          Deprecated.  
 Schema DoubleUlp.outputSchema(Schema input)
           
 Schema DoubleSignum.outputSchema(Schema input)
           
 Schema DoubleRound.outputSchema(Schema input)
          Deprecated.  
 Schema DoubleNextup.outputSchema(Schema input)
           
 Schema DoubleNextAfter.outputSchema(Schema input)
           
 Schema DoubleMin.outputSchema(Schema input)
           
 Schema DoubleMax.outputSchema(Schema input)
           
 Schema DoubleGetExponent.outputSchema(Schema input)
           
 Schema DoubleCopySign.outputSchema(Schema input)
           
 Schema DoubleAbs.outputSchema(Schema input)
          Deprecated.  
 Schema Base.outputSchema(Schema input)
          Deprecated.  
 Schema ABS.outputSchema(Schema input)
          Deprecated.  
 

Uses of Schema in org.apache.pig.piggybank.evaluation.stats
 

Methods in org.apache.pig.piggybank.evaluation.stats that return Schema
 Schema COV.outputSchema(Schema input)
          Deprecated.  
 Schema COR.outputSchema(Schema input)
          Deprecated.  
 

Methods in org.apache.pig.piggybank.evaluation.stats with parameters of type Schema
 Schema COV.outputSchema(Schema input)
          Deprecated.  
 Schema COR.outputSchema(Schema input)
          Deprecated.  
 

Uses of Schema in org.apache.pig.piggybank.evaluation.string
 

Methods in org.apache.pig.piggybank.evaluation.string that return Schema
 Schema UPPER.outputSchema(Schema input)
          Deprecated. This method gives a name to the column.
 Schema Stuff.outputSchema(Schema input)
           
 Schema Reverse.outputSchema(Schema input)
           
 Schema RegexMatch.outputSchema(Schema input)
           
 Schema RegexExtractAll.outputSchema(Schema input)
          Deprecated.  
 Schema RegexExtract.outputSchema(Schema input)
          Deprecated.  
 Schema LookupInFiles.outputSchema(Schema input)
           
 Schema LENGTH.outputSchema(Schema input)
           
 Schema HashFNV.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation.string with parameters of type Schema
 Schema UPPER.outputSchema(Schema input)
          Deprecated. This method gives a name to the column.
 Schema Stuff.outputSchema(Schema input)
           
 Schema Reverse.outputSchema(Schema input)
           
 Schema RegexMatch.outputSchema(Schema input)
           
 Schema RegexExtractAll.outputSchema(Schema input)
          Deprecated.  
 Schema RegexExtract.outputSchema(Schema input)
          Deprecated.  
 Schema LookupInFiles.outputSchema(Schema input)
           
 Schema LENGTH.outputSchema(Schema input)
           
 Schema HashFNV.outputSchema(Schema input)
           
 

Uses of Schema in org.apache.pig.piggybank.evaluation.util
 

Methods in org.apache.pig.piggybank.evaluation.util that return Schema
 Schema Top.outputSchema(Schema input)
          Deprecated.  
 Schema ToTuple.outputSchema(Schema input)
          Deprecated.  
 Schema SearchQuery.outputSchema(Schema input)
           
 

Methods in org.apache.pig.piggybank.evaluation.util with parameters of type Schema
 Schema Top.outputSchema(Schema input)
          Deprecated.  
 Schema ToTuple.outputSchema(Schema input)
          Deprecated.  
 Schema SearchQuery.outputSchema(Schema input)
           
 

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

Methods in org.apache.pig.scripting.groovy that return Schema
 Schema GroovyEvalFunc.outputSchema(Schema input)
           
 Schema GroovyAccumulatorEvalFunc.outputSchema(Schema input)
           
 

Methods in org.apache.pig.scripting.groovy with parameters of type Schema
 Schema GroovyEvalFunc.outputSchema(Schema input)
           
 Schema GroovyAccumulatorEvalFunc.outputSchema(Schema input)
           
 

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

Methods in org.apache.pig.scripting.jruby that return Schema
 Schema RubySchema.getInternalSchema()
          This is a helper method to pull out the native Java type from the ruby object.
 Schema JrubyEvalFunc.outputSchema(Schema input)
          This method uses the schema method of the function encapsulation object to get the Schema information for the Ruby method.
 Schema JrubyAccumulatorEvalFunc.outputSchema(Schema input)
          This provides the Schema of the output, and leverages the get_output_schema function on the class object that is defined on the ruby side.
static Schema RubySchema.rubyArgToSchema(Object arg)
          This is a helper function which converts objects into Schema objects.
static Schema PigJrubyLibrary.rubyToPig(RubySchema rbObject)
          A type specific conversion routine.
 

Methods in org.apache.pig.scripting.jruby with parameters of type Schema
 Schema JrubyEvalFunc.outputSchema(Schema input)
          This method uses the schema method of the function encapsulation object to get the Schema information for the Ruby method.
 Schema JrubyAccumulatorEvalFunc.outputSchema(Schema input)
          This provides the Schema of the output, and leverages the get_output_schema function on the class object that is defined on the ruby side.
static RubySchema PigJrubyLibrary.pigToRuby(org.jruby.Ruby ruby, Schema object)
          A type specific conversion routine.
 

Constructors in org.apache.pig.scripting.jruby with parameters of type Schema
RubySchema(org.jruby.Ruby ruby, org.jruby.RubyClass rc, Schema s)
          This constructor sets the encapsulated Schema to be equal to the given Schema.
RubySchema(org.jruby.Ruby ruby, org.jruby.RubyClass rc, Schema s, boolean copy)
          This constructor sets the encapsulated Schema to be equal to the given Schema.
 

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 © 2007-2012 The Apache Software Foundation