Class SelectColumn

    • Method Detail

      • name

        public final String name()

        Name of the column.

        Returns:
        Name of the column.
      • type

        public final Type type()
        Returns the value of the Type property for this object.
        Returns:
        The value of the Type property for this object.
      • databaseName

        public final String databaseName()

        Database that has this column.

        Returns:
        Database that has this column.
      • tableName

        public final String tableName()

        Table within the database that has this column.

        Returns:
        Table within the database that has this column.
      • aliased

        public final Boolean aliased()

        True, if the column name was aliased by the query. False otherwise.

        Returns:
        True, if the column name was aliased by the query. False otherwise.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)