Class Signature.Argument
- java.lang.Object
-
- org.apache.flink.table.types.inference.Signature.Argument
-
- Enclosing class:
- Signature
@PublicEvolving public static final class Signature.Argument extends Object
Representation of a single argument in a signature.The argument is represented as a
String
in order to express both explicit types (seeof(...)
) or groups/families of types (seeofKind(...)
).The general string formatting convention is to use
T
for explicit types,<T>
for groups/families of types,T...
for varargs, and[T]
for conditions.
-
-
Method Summary
-
-
-
Method Detail
-
of
public static Signature.Argument of(String name, String type)
-
of
public static Signature.Argument of(String name, LogicalType type)
-
ofVarying
public static Signature.Argument ofVarying(String name, String type)
-
of
public static Signature.Argument of(String type)
-
of
public static Signature.Argument of(LogicalType type)
-
ofVarying
public static Signature.Argument ofVarying(String type)
-
ofGroup
public static Signature.Argument ofGroup(String name, String typeGroup)
-
ofGroup
public static Signature.Argument ofGroup(String name, LogicalTypeRoot typeRoot)
-
ofGroup
public static Signature.Argument ofGroup(String name, LogicalTypeFamily typeFamily)
-
ofGroup
public static Signature.Argument ofGroup(String name, Class<? extends Enum<? extends TableSymbol>> symbol)
-
ofGroupVarying
public static Signature.Argument ofGroupVarying(String name, String typeGroup)
-
ofGroup
public static Signature.Argument ofGroup(String typeGroup)
-
ofGroup
public static Signature.Argument ofGroup(LogicalTypeRoot typeRoot)
-
ofGroup
public static Signature.Argument ofGroup(LogicalTypeFamily typeFamily)
-
ofGroup
public static Signature.Argument ofGroup(Class<? extends Enum<? extends TableSymbol>> symbol)
-
ofGroupVarying
public static Signature.Argument ofGroupVarying(String typeGroup)
-
getType
public String getType()
-
-