@PublicEvolving public static final class Signature.Argument extends Object
The argument is represented as a String
in order to express both explicit types
(see of(...)
) or groups/families of types (see ofKind(...)
).
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.
public static Signature.Argument of(String name, String type)
public static Signature.Argument of(String name, LogicalType type)
public static Signature.Argument ofVarying(String name, String type)
public static Signature.Argument of(String type)
public static Signature.Argument of(LogicalType type)
public static Signature.Argument ofVarying(String type)
public static Signature.Argument ofGroup(String name, String typeGroup)
public static Signature.Argument ofGroup(String name, LogicalTypeRoot typeRoot)
public static Signature.Argument ofGroup(String name, LogicalTypeFamily typeFamily)
public static Signature.Argument ofGroup(String name, Class<? extends Enum<? extends TableSymbol>> symbol)
public static Signature.Argument ofGroupVarying(String name, String typeGroup)
public static Signature.Argument ofGroup(String typeGroup)
public static Signature.Argument ofGroup(LogicalTypeRoot typeRoot)
public static Signature.Argument ofGroup(LogicalTypeFamily typeFamily)
public static Signature.Argument ofGroup(Class<? extends Enum<? extends TableSymbol>> symbol)
public static Signature.Argument ofGroupVarying(String typeGroup)
public String getType()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.