| Modifier and Type | Method and Description |
|---|---|
static FamilyArgumentTypeStrategy |
InputTypeStrategies.logical(LogicalTypeFamily expectedFamily)
Strategy for an argument that corresponds to a given
LogicalTypeFamily. |
static FamilyArgumentTypeStrategy |
InputTypeStrategies.logical(LogicalTypeFamily expectedFamily,
boolean expectedNullability)
Strategy for an argument that corresponds to a given
LogicalTypeFamily and
nullability. |
static TypeStrategy |
TypeStrategies.matchFamily(int argumentPos,
LogicalTypeFamily family)
Type strategy that returns the given argument if it is of the same logical type family.
|
| Constructor and Description |
|---|
FamilyArgumentTypeStrategy(LogicalTypeFamily expectedFamily,
Boolean expectedNullability) |
MatchFamilyTypeStrategy(int argumentPos,
LogicalTypeFamily matchingTypeFamily) |
| Modifier and Type | Method and Description |
|---|---|
static LogicalTypeFamily |
LogicalTypeFamily.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogicalTypeFamily[] |
LogicalTypeFamily.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<LogicalTypeFamily> |
LogicalTypeRoot.getFamilies() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
LogicalTypeChecks.hasFamily(LogicalType logicalType,
LogicalTypeFamily family) |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.