RelOptCluster
See the comment against net.sf.saffron.oj.xlat.QueryInfo on why you should put fields in that class, not this one.
net.sf.saffron.oj.xlat.QueryInfo
5657585960616263646566
{ CascadingTableModificationRel modificationRel = call.rel( 0 ); CascadingValuesRel valuesRel = call.rel( 2 ); RelTraitSet newTraits = modificationRel.getTraitSet().plus( CONVENTION ); RelOptCluster cluster = modificationRel.getCluster(); RelDataType rowType = modificationRel.getRowType(); RelOptTable table = modificationRel.getTable(); List<List<RexLiteral>> tuples = valuesRel.getTuples();
596061626364656667
} public static Fields createTypedFieldsFor( RelNode relNode, boolean numeric ) { RelDataType rowType = relNode.getRowType(); RelOptCluster cluster = relNode.getCluster(); return createTypedFields( cluster, rowType, numeric ); }
676869707172737475
} public static Fields createTypedFieldsSelectorFor( RelNode relNode, boolean numeric ) { RelDataType rowType = relNode.getRowType(); RelOptCluster cluster = relNode.getCluster(); return createTypedFieldsSelector( cluster, rowType, numeric ); }