Package org.apache.flink.types
Class ColumnList
java.lang.Object
org.apache.flink.types.ColumnList
- All Implemented Interfaces:
Serializable
Represents a list of columns.
This type is the return type of calls to DESCRIPTOR(`c0`, `c1`). The type is intended
to be used in arguments of ProcessTableFunctions.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a list of data types (if available).getNames()Returns a list of column names.inthashCode()static ColumnListstatic ColumnListstatic ColumnListtoString()
-
Method Details
-
of
-
of
-
of
-
getNames
Returns a list of column names.For example, it returns [a, b, c] for function calls like
DESCRIPTOR(a INT, b STRING, c BOOLEAN)orDESCRIPTOR(a, b, c). -
getDataTypes
Returns a list of data types (if available).For example, it returns [INT, STRING, BOOLEAN] for function calls like
DESCRIPTOR(a INT, b STRING, c BOOLEAN).Note: The list might be empty if only names were passed to the descriptor function like
DESCRIPTOR(a, b, c). Thus, the list is either empty or has the same number of elements asgetNames(). -
toString
-
equals
-
hashCode
public int hashCode()
-