Class RelDataTypeHolder


  • class RelDataTypeHolder
    extends java.lang.Object
    Holding the expandable list of fields for dynamic table.
    • Method Detail

      • getFieldCount

        public int getFieldCount()
      • getFieldOrInsert

        Pair<RelDataTypeField,​java.lang.Boolean> getFieldOrInsert​(java.lang.String fieldName,
                                                                        boolean caseSensitive)
        Get field if exists, otherwise inserts a new field. The new field by default will have "any" type, except for the dynamic star field.
        Parameters:
        fieldName - Request field name
        caseSensitive - Case Sensitive
        Returns:
        A pair of RelDataTypeField and Boolean. Boolean indicates whether a new field is added to this holder.
      • getFieldNames

        public java.util.List<java.lang.String> getFieldNames()