Class RelMetadataTest.MyRelMetadataQuery

  • Enclosing class:
    RelMetadataTest

    private static class RelMetadataTest.MyRelMetadataQuery
    extends org.apache.calcite.rel.metadata.RelMetadataQuery
    Extension to RelMetadataQuery to support RelMetadataTest.ColType.

    Illustrates how you would package up a user-defined metadata type.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private RelMetadataTest.ColType.Handler colTypeHandler  
      • Fields inherited from class org.apache.calcite.rel.metadata.RelMetadataQuery

        EMPTY, map, metadataProvider, THREAD_PROVIDERS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String colType​(org.apache.calcite.rel.RelNode rel, int column)  
      • Methods inherited from class org.apache.calcite.rel.metadata.RelMetadataQuery

        areColumnsUnique, areColumnsUnique, areRowsUnique, collations, cumulativeMemoryWithinPhase, cumulativeMemoryWithinPhaseSplit, distribution, getAllPredicates, getAverageColumnSizes, getAverageColumnSizesNotNull, getAverageRowSize, getColumnOrigin, getColumnOrigins, getCumulativeCost, getDistinctRowCount, getDistribution, getExpressionLineage, getMaxRowCount, getMinRowCount, getNodeTypes, getNonCumulativeCost, getPercentageOriginalRows, getPopulationSize, getPulledUpPredicates, getRowCount, getSelectivity, getTableOrigin, getTableReferences, getUniqueKeys, getUniqueKeys, initialHandler, instance, isPhaseTransition, isVisibleInExplain, memory, revise, splitCount
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyRelMetadataQuery

        MyRelMetadataQuery()
    • Method Detail

      • colType

        public java.lang.String colType​(org.apache.calcite.rel.RelNode rel,
                                        int column)