Interface BuiltInMetadata.Measure

All Superinterfaces:
Metadata
Enclosing class:
BuiltInMetadata

public static interface BuiltInMetadata.Measure extends Metadata
Metadata about whether a column is a measure and, if so, what is the expression to evaluate that measure in the current context.
  • Field Details

  • Method Details

    • isMeasure

      Boolean isMeasure(int column)
      Returns whether a given column is a measure.
      Parameters:
      column - Column ordinal (0-based)
    • expand

      RexNode expand(int column, BuiltInMetadata.Measure.Context context)
      Expands a measure to an expression.
      Parameters:
      column - Column ordinal (0-based)
      context - Evaluation context