Skip navigation links
A C D F G I O P R S T V 

A

addStatement(String) - Method in class org.apache.calcite.adapter.pig.PigRel.Implementor
 
ALL_PIG_OPT_RULES - Static variable in class org.apache.calcite.adapter.pig.PigRules
 
ALL_PIG_REL_FACTORIES - Static variable in class org.apache.calcite.adapter.pig.PigRelFactories
 

C

calciteFunc - Variable in enum org.apache.calcite.adapter.pig.PigAggFunction
 
containsOnlyConjunctions(RexNode) - Method in class org.apache.calcite.adapter.pig.PigFilter
 
CONVENTION - Static variable in interface org.apache.calcite.adapter.pig.PigRel
Calling convention for relational operations that occur in Pig.
convert(RelNode) - Method in class org.apache.calcite.adapter.pig.PigRules.PigAggregateRule
 
convert(RelNode) - Method in class org.apache.calcite.adapter.pig.PigRules.PigFilterRule
 
convert(RelNode) - Method in class org.apache.calcite.adapter.pig.PigRules.PigJoinRule
 
convert(RelNode) - Method in class org.apache.calcite.adapter.pig.PigRules.PigProjectRule
 
convert(RelNode) - Method in class org.apache.calcite.adapter.pig.PigRules.PigTableScanRule
 
convert(RelNode) - Method in class org.apache.calcite.adapter.pig.PigToEnumerableConverterRule
 
copy(RelTraitSet, RelNode, ImmutableBitSet, List<ImmutableBitSet>, List<AggregateCall>) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
copy(RelTraitSet, RelNode, RexNode) - Method in class org.apache.calcite.adapter.pig.PigFilter
 
copy(RelTraitSet, RexNode, RelNode, RelNode, JoinRelType, boolean) - Method in class org.apache.calcite.adapter.pig.PigJoin
 
copy(RelTraitSet, RelNode, List<RexNode>, RelDataType) - Method in class org.apache.calcite.adapter.pig.PigProject
 
copy(RelTraitSet, List<RelNode>) - Method in class org.apache.calcite.adapter.pig.PigToEnumerableConverter
 
create(SchemaPlus, String, Map<String, Object>) - Method in class org.apache.calcite.adapter.pig.PigSchemaFactory
 
create(SchemaPlus, String, Map<String, Object>, RelDataType) - Method in class org.apache.calcite.adapter.pig.PigTableFactory
 
createAggregate(RelNode, ImmutableBitSet, ImmutableList<ImmutableBitSet>, List<AggregateCall>) - Method in class org.apache.calcite.adapter.pig.PigRelFactories.PigAggregateFactory
 
createFilter(RelNode, RexNode) - Method in class org.apache.calcite.adapter.pig.PigRelFactories.PigFilterFactory
 
createJoin(RelNode, RelNode, RexNode, Set<CorrelationId>, JoinRelType, boolean) - Method in class org.apache.calcite.adapter.pig.PigRelFactories.PigJoinFactory
 
createJoin(RelNode, RelNode, RexNode, JoinRelType, Set<String>, boolean) - Method in class org.apache.calcite.adapter.pig.PigRelFactories.PigJoinFactory
 
createScan(RelOptCluster, RelOptTable) - Method in class org.apache.calcite.adapter.pig.PigRelFactories.PigTableScanFactory
 

D

DISTINCT_FIELD_SUFFIX - Static variable in class org.apache.calcite.adapter.pig.PigAggregate
 

F

fieldNames - Variable in class org.apache.calcite.adapter.pig.PigTable
 
filePath - Variable in class org.apache.calcite.adapter.pig.PigTable
 

G

getArgNames(String, AggregateCall) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
getConcatenatedFieldNameAndTypeForPigSchema(PigRel.Implementor, RelDataTypeField) - Method in class org.apache.calcite.adapter.pig.PigTableScan
 
getDistinctCalls(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigAggregate
A agg function call like COUNT(DISTINCT COL) in Pig is achieved via two statements in a FOREACH that follows a GROUP statement: TABLE = GROUP TABLE ALL;
TABLE = FOREACH TABLE {
  COL.DISTINCT = DISTINCT COL;
  GENERATE COUNT(COL.DISTINCT) AS C;

}
getFieldName(RelNode, int) - Method in class org.apache.calcite.adapter.pig.PigRel.Implementor
 
getFilePath() - Method in class org.apache.calcite.adapter.pig.PigTable
 
getInputFieldName(int) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
getInputFieldNameForAggCall(String, AggregateCall, int) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
getLiteralAsString(RexLiteral) - Method in class org.apache.calcite.adapter.pig.PigFilter
TODO: do proper literal to string conversion + escaping
getPigAggregateCall(String, AggregateCall) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
getPigAggregateCalls(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
getPigAggregateStatement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigAggregate
Generates a GROUP BY statement, followed by an optional FOREACH statement for all aggregate functions used.
getPigFilterStatement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigFilter
Generates Pig Latin filtering statements, for example
getPigForEachGenerate(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigAggregate
Generates a FOREACH statement containing invocation of aggregate functions and projection of grouped fields.
getPigGenerateCall(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
getPigGroupBy(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigAggregate
Generates the GROUP BY statement, e.g.
getPigJoinStatement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigJoin
Constructs a Pig JOIN statement in the form of
getPigJoinType() - Method in class org.apache.calcite.adapter.pig.PigJoin
Get a string representation of the type of join for use in a Pig script.
getPigRelationAlias(RelNode) - Method in class org.apache.calcite.adapter.pig.PigRel.Implementor
 
getPigTable(String) - Method in class org.apache.calcite.adapter.pig.PigTableScan
 
getPigType() - Method in enum org.apache.calcite.adapter.pig.PigDataType
 
getRowType(RelDataTypeFactory) - Method in class org.apache.calcite.adapter.pig.PigTable
 
getSchemaForPigStatement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigTableScan
 
getScript() - Method in class org.apache.calcite.adapter.pig.PigRel.Implementor
 
getSingleFilterCondition(PigRel.Implementor, RexNode) - Method in class org.apache.calcite.adapter.pig.PigFilter
 
getSingleFilterCondition(PigRel.Implementor, String, RexCall) - Method in class org.apache.calcite.adapter.pig.PigFilter
 
getSqlType() - Method in enum org.apache.calcite.adapter.pig.PigDataType
 
getStatements() - Method in class org.apache.calcite.adapter.pig.PigRel.Implementor
 
getTable() - Method in class org.apache.calcite.adapter.pig.PigAggregate
Override this method so it looks down the tree to find the table this node is acting on.
getTable() - Method in class org.apache.calcite.adapter.pig.PigFilter
Override this method so it looks down the tree to find the table this node is acting on.
getTable() - Method in class org.apache.calcite.adapter.pig.PigJoin
The Pig alias of the joined relation will have the same name as one from the left side of the join.
getTable() - Method in class org.apache.calcite.adapter.pig.PigProject
Override this method so it looks down the tree to find the table this node is acting on.
getTableMap() - Method in class org.apache.calcite.adapter.pig.PigSchema
 
getTableName(RelNode) - Method in class org.apache.calcite.adapter.pig.PigRel.Implementor
 

I

implement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
implement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigFilter
 
implement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigJoin
 
implement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigProject
 
implement(PigRel.Implementor) - Method in interface org.apache.calcite.adapter.pig.PigRel
Converts this node to a Pig Latin statement.
implement(PigRel.Implementor) - Method in class org.apache.calcite.adapter.pig.PigTableScan
 
implement(EnumerableRelImplementor, EnumerableRel.Prefer) - Method in class org.apache.calcite.adapter.pig.PigToEnumerableConverter
Implementor() - Constructor for class org.apache.calcite.adapter.pig.PigRel.Implementor
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRelFactories.PigAggregateFactory
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRelFactories.PigFilterFactory
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRelFactories.PigJoinFactory
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRelFactories.PigTableScanFactory
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRules.PigAggregateRule
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRules.PigFilterRule
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRules.PigJoinRule
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRules.PigProjectRule
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigRules.PigTableScanRule
 
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigSchemaFactory
Public singleton, per factory contract.
INSTANCE - Static variable in class org.apache.calcite.adapter.pig.PigToEnumerableConverterRule
 

O

org.apache.calcite.adapter.pig - package org.apache.calcite.adapter.pig
Pig query provider.

P

PigAggFunction - Enum in org.apache.calcite.adapter.pig
Supported Pig aggregate functions and their Calcite counterparts.
PigAggFunction(SqlKind) - Constructor for enum org.apache.calcite.adapter.pig.PigAggFunction
 
PigAggFunction(SqlKind, boolean) - Constructor for enum org.apache.calcite.adapter.pig.PigAggFunction
 
PigAggregate - Class in org.apache.calcite.adapter.pig
Implementation of Aggregate in Pig calling convention.
PigAggregate(RelOptCluster, RelTraitSet, RelNode, ImmutableBitSet, List<ImmutableBitSet>, List<AggregateCall>) - Constructor for class org.apache.calcite.adapter.pig.PigAggregate
Creates a PigAggregate.
PigAggregate(RelOptCluster, RelTraitSet, RelNode, boolean, ImmutableBitSet, List<ImmutableBitSet>, List<AggregateCall>) - Constructor for class org.apache.calcite.adapter.pig.PigAggregate
Deprecated.
PigAggregateFactory() - Constructor for class org.apache.calcite.adapter.pig.PigRelFactories.PigAggregateFactory
 
PigAggregateRule() - Constructor for class org.apache.calcite.adapter.pig.PigRules.PigAggregateRule
 
PigDataType - Enum in org.apache.calcite.adapter.pig
Supported Pig data types and their Calcite counterparts.
PigDataType(byte, SqlTypeName) - Constructor for enum org.apache.calcite.adapter.pig.PigDataType
 
PigFilter - Class in org.apache.calcite.adapter.pig
Implementation of Filter in Pig calling convention.
PigFilter(RelOptCluster, RelTraitSet, RelNode, RexNode) - Constructor for class org.apache.calcite.adapter.pig.PigFilter
Creates a PigFilter.
PigFilterFactory() - Constructor for class org.apache.calcite.adapter.pig.PigRelFactories.PigFilterFactory
 
PigFilterRule() - Constructor for class org.apache.calcite.adapter.pig.PigRules.PigFilterRule
 
PigJoin - Class in org.apache.calcite.adapter.pig
Implementation of Join in Pig calling convention.
PigJoin(RelOptCluster, RelTraitSet, RelNode, RelNode, RexNode, JoinRelType) - Constructor for class org.apache.calcite.adapter.pig.PigJoin
Creates a PigJoin.
PigJoinFactory() - Constructor for class org.apache.calcite.adapter.pig.PigRelFactories.PigJoinFactory
 
PigJoinRule() - Constructor for class org.apache.calcite.adapter.pig.PigRules.PigJoinRule
 
PigProject - Class in org.apache.calcite.adapter.pig
Implementation of Project in Pig calling convention.
PigProject(RelOptCluster, RelTraitSet, RelNode, List<? extends RexNode>, RelDataType) - Constructor for class org.apache.calcite.adapter.pig.PigProject
Creates a PigProject.
PigProjectRule() - Constructor for class org.apache.calcite.adapter.pig.PigRules.PigProjectRule
 
PigRel - Interface in org.apache.calcite.adapter.pig
Relational expression that uses the Pig calling convention.
PigRel.Implementor - Class in org.apache.calcite.adapter.pig
Callback for the implementation process that converts a tree of PigRel nodes into complete Pig Latin script.
PigRelFactories - Class in org.apache.calcite.adapter.pig
Implementations of factories in RelFactories for the Pig adapter.
PigRelFactories() - Constructor for class org.apache.calcite.adapter.pig.PigRelFactories
 
PigRelFactories.PigAggregateFactory - Class in org.apache.calcite.adapter.pig
Implementation of RelFactories.AggregateFactory that returns a PigAggregate.
PigRelFactories.PigFilterFactory - Class in org.apache.calcite.adapter.pig
Implementation of RelFactories.FilterFactory that returns a PigFilter.
PigRelFactories.PigJoinFactory - Class in org.apache.calcite.adapter.pig
Implementation of RelFactories.JoinFactory that returns a PigJoin.
PigRelFactories.PigTableScanFactory - Class in org.apache.calcite.adapter.pig
Implementation of RelFactories.TableScanFactory that returns a PigTableScan.
PigRules - Class in org.apache.calcite.adapter.pig
Various RelOptRules using the Pig convention.
PigRules() - Constructor for class org.apache.calcite.adapter.pig.PigRules
 
PigRules.PigAggregateRule - Class in org.apache.calcite.adapter.pig
Rule to convert a LogicalAggregate to a PigAggregate.
PigRules.PigFilterRule - Class in org.apache.calcite.adapter.pig
Rule to convert a LogicalFilter to a PigFilter.
PigRules.PigJoinRule - Class in org.apache.calcite.adapter.pig
Rule to convert a LogicalJoin to a PigJoin.
PigRules.PigProjectRule - Class in org.apache.calcite.adapter.pig
Rule to convert a LogicalProject to a PigProject.
PigRules.PigTableScanRule - Class in org.apache.calcite.adapter.pig
Rule to convert a LogicalTableScan to a PigTableScan.
PigSchema - Class in org.apache.calcite.adapter.pig
Schema that contains one more or more Pig tables.
PigSchema() - Constructor for class org.apache.calcite.adapter.pig.PigSchema
 
PigSchemaFactory - Class in org.apache.calcite.adapter.pig
Factory that creates a PigSchema.
PigSchemaFactory() - Constructor for class org.apache.calcite.adapter.pig.PigSchemaFactory
 
PigTable - Class in org.apache.calcite.adapter.pig
Represents a Pig relation that is created by Pig Latin LOAD statement.
PigTable(String, String[]) - Constructor for class org.apache.calcite.adapter.pig.PigTable
Creates a PigTable.
PigTableFactory - Class in org.apache.calcite.adapter.pig
Factory that creates a PigTable.
PigTableFactory() - Constructor for class org.apache.calcite.adapter.pig.PigTableFactory
 
PigTableScan - Class in org.apache.calcite.adapter.pig
Implementation of TableScan in Pig calling convention.
PigTableScan(RelOptCluster, RelTraitSet, RelOptTable) - Constructor for class org.apache.calcite.adapter.pig.PigTableScan
Creates a PigTableScan.
PigTableScanFactory() - Constructor for class org.apache.calcite.adapter.pig.PigRelFactories.PigTableScanFactory
 
PigTableScanRule() - Constructor for class org.apache.calcite.adapter.pig.PigRules.PigTableScanRule
 
PigToEnumerableConverter - Class in org.apache.calcite.adapter.pig
Relational expression representing a scan of a table in a Pig data source.
PigToEnumerableConverter(RelOptCluster, RelTraitSet, RelNode) - Constructor for class org.apache.calcite.adapter.pig.PigToEnumerableConverter
Creates a PigToEnumerableConverter.
PigToEnumerableConverterRule - Class in org.apache.calcite.adapter.pig
Rule to convert a relational expression from PigRel.CONVENTION to EnumerableConvention.
PigToEnumerableConverterRule() - Constructor for class org.apache.calcite.adapter.pig.PigToEnumerableConverterRule
 
pigType - Variable in enum org.apache.calcite.adapter.pig.PigDataType
 

R

register(RelOptPlanner) - Method in class org.apache.calcite.adapter.pig.PigTableScan
 
registerTable(String, PigTable) - Method in class org.apache.calcite.adapter.pig.PigSchema
 

S

sqlType - Variable in enum org.apache.calcite.adapter.pig.PigDataType
 
star - Variable in enum org.apache.calcite.adapter.pig.PigAggFunction
 
statements - Variable in class org.apache.calcite.adapter.pig.PigRel.Implementor
An ordered list of Pig Latin statements.

T

tableMap - Variable in class org.apache.calcite.adapter.pig.PigSchema
 
toPigAggFunc(AggregateCall) - Method in class org.apache.calcite.adapter.pig.PigAggregate
 
toRel(RelOptTable.ToRelContext, RelOptTable) - Method in class org.apache.calcite.adapter.pig.PigTable
 

V

valueOf(String) - Static method in enum org.apache.calcite.adapter.pig.PigAggFunction
Returns the enum constant of this type with the specified name.
valueOf(SqlKind, boolean) - Static method in enum org.apache.calcite.adapter.pig.PigAggFunction
 
valueOf(String) - Static method in enum org.apache.calcite.adapter.pig.PigDataType
Returns the enum constant of this type with the specified name.
valueOf(byte) - Static method in enum org.apache.calcite.adapter.pig.PigDataType
 
valueOf(SqlTypeName) - Static method in enum org.apache.calcite.adapter.pig.PigDataType
 
values() - Static method in enum org.apache.calcite.adapter.pig.PigAggFunction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.calcite.adapter.pig.PigDataType
Returns an array containing the constants of this enum type, in the order they are declared.
visitChild(int, RelNode) - Method in class org.apache.calcite.adapter.pig.PigRel.Implementor
 
A C D F G I O P R S T V 
Skip navigation links

Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.