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   
 

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
 void LoadFunc.fieldsToRead(Schema schema)
          Indicate to the loader fields that will be needed.
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)
           
 

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)
           
 

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()
           
 

Methods in org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators with parameters of type Schema
abstract  StoreFunc POStoreImpl.createStoreFunc(FileSpec sFile, Schema schema)
          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)
           
 

Methods in org.apache.pig.backend.hadoop.hbase with parameters of type Schema
 void HBaseStorage.fieldsToRead(Schema schema)
           
 

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)
           
 

Uses of Schema in org.apache.pig.builtin
 

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

Methods in org.apache.pig.builtin with parameters of type Schema
 void BinStorage.fieldsToRead(Schema schema)
           
 void BinaryStorage.fieldsToRead(Schema schema)
           
 void PigStorage.fieldsToRead(Schema schema)
           
 void TextLoader.fieldsToRead(Schema schema)
          TextLoader doesn't make use of this.
 Schema ARITY.outputSchema(Schema input)
           
 Schema AVG.outputSchema(Schema input)
           
 Schema BagSize.outputSchema(Schema input)
           
 Schema CONCAT.outputSchema(Schema input)
           
 Schema COUNT.outputSchema(Schema input)
           
 Schema COUNT_STAR.outputSchema(Schema input)
           
 Schema ConstantSize.outputSchema(Schema input)
           
 Schema DoubleAvg.outputSchema(Schema input)
           
 Schema DoubleMax.outputSchema(Schema input)
           
 Schema DoubleMin.outputSchema(Schema input)
           
 Schema DoubleSum.outputSchema(Schema input)
           
 Schema FloatAvg.outputSchema(Schema input)
           
 Schema FloatMax.outputSchema(Schema input)
           
 Schema FloatMin.outputSchema(Schema input)
           
 Schema FloatSum.outputSchema(Schema input)
           
 Schema IntAvg.outputSchema(Schema input)
           
 Schema IntMax.outputSchema(Schema input)
           
 Schema IntMin.outputSchema(Schema input)
           
 Schema IntSum.outputSchema(Schema input)
           
 Schema LongAvg.outputSchema(Schema input)
           
 Schema LongMax.outputSchema(Schema input)
           
 Schema LongMin.outputSchema(Schema input)
           
 Schema LongSum.outputSchema(Schema input)
           
 Schema MAX.outputSchema(Schema input)
           
 Schema MIN.outputSchema(Schema input)
           
 Schema MapSize.outputSchema(Schema input)
           
 Schema RANDOM.outputSchema(Schema input)
           
 Schema SIZE.outputSchema(Schema input)
           
 Schema SUM.outputSchema(Schema input)
           
 Schema StringConcat.outputSchema(Schema input)
           
 Schema StringMax.outputSchema(Schema input)
           
 Schema StringMin.outputSchema(Schema input)
           
 Schema StringSize.outputSchema(Schema input)
           
 Schema TOKENIZE.outputSchema(Schema input)
           
 Schema TupleSize.outputSchema(Schema input)
           
 

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

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

Methods in org.apache.pig.impl.builtin with parameters of type Schema
 void MergeJoinIndexer.fieldsToRead(Schema schema)
           
 void SampleLoader.fieldsToRead(Schema schema)
           
 

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()
           
 Schema ExpressionOperator.getSchema()
           
 Schema LOAdd.getSchema()
           
 Schema LOAnd.getSchema()
           
 Schema LOBinCond.getSchema()
           
 Schema LOCast.getSchema()
           
 Schema LOCogroup.getSchema()
           
 Schema LOConst.getSchema()
           
 Schema LOCross.getSchema()
           
 Schema LODefine.getSchema()
           
 Schema LODistinct.getSchema()
           
 Schema LODivide.getSchema()
           
 Schema LOEqual.getSchema()
           
 Schema LOFilter.getSchema()
           
 Schema LOForEach.getSchema()
           
 Schema LOGenerate.getSchema()
           
 Schema LOGreaterThan.getSchema()
           
 Schema LOGreaterThanEqual.getSchema()
           
 Schema LOIsNull.getSchema()
           
 Schema LOJoin.getSchema()
           
 Schema LOLesserThan.getSchema()
           
 Schema LOLesserThanEqual.getSchema()
           
 Schema LOLimit.getSchema()
           
 Schema LOLoad.getSchema()
           
 Schema LOMapLookup.getSchema()
           
 Schema LOMod.getSchema()
           
 Schema LOMultiply.getSchema()
           
 Schema LONegative.getSchema()
           
 Schema LONot.getSchema()
           
 Schema LONotEqual.getSchema()
           
 Schema LOOr.getSchema()
           
 Schema LOProject.getSchema()
           
 Schema LORegexp.getSchema()
           
 Schema LOSort.getSchema()
           
 Schema LOSplit.getSchema()
           
 Schema LOSplitOutput.getSchema()
           
 Schema LOStore.getSchema()
           
 Schema LOStream.getSchema()
           
 Schema LOSubtract.getSchema()
           
 Schema LOUnion.getSchema()
           
 Schema LOUserFunc.getSchema()
           
abstract  Schema LogicalOperator.getSchema()
          Get a copy of the schema for the output of this operator.
 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> LOForEach.getUserDefinedSchema()
           
 List<Schema> LOGenerate.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 LOLoad.setSchema(Schema schema)
           
 void LogicalOperator.setSchema(Schema schema)
          Set the output schema for this operator.
 

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.
 



Copyright © ${year} The Apache Software Foundation