Interface RelOptTable

    • Method Detail

      • getQualifiedName

        java.util.List<java.lang.String> getQualifiedName()
        Obtains an identifier for this table. The identifier must be unique with respect to the Connection producing this table.
        qualified name
      • getRowCount

        double getRowCount()
        Returns an estimate of the number of rows in the table.
      • getRowType

        RelDataType getRowType()
        Describes the type of rows returned by this table.
      • isKey

        boolean isKey​(ImmutableBitSet columns)
        Returns whether the given columns are a key or a superset of a unique key of this table.
        columns - Ordinals of key columns
        Whether the given columns are a key or a superset of a key
      • getReferentialConstraints

        java.util.List<RelReferentialConstraint> getReferentialConstraints()
        Returns the referential constraints existing for this table. These constraints are represented over other tables using RelReferentialConstraint nodes.
      • getExpression

        Expression getExpression​(java.lang.Class clazz)
        Generates code for this table.
        clazz - The desired collection class; for example Queryable.
      • extend

        RelOptTable extend​(java.util.List<RelDataTypeField> extendedFields)
        Returns a table with the given extra fields.

        The extended table includes the fields of this base table plus the extended fields that do not have the same name as a field in the base table.

      • getColumnStrategies

        java.util.List<ColumnStrategy> getColumnStrategies()
        Returns a list describing how each column is populated. The list has the same number of entries as there are fields, and is immutable.