Modifier and Type | Method and Description |
---|---|
Set<LogicalTypeFamily> |
CastRulePredicate.getInputTypeFamilies() |
Set<LogicalTypeFamily> |
CastRulePredicate.getTargetTypeFamilies() |
Modifier and Type | Method and Description |
---|---|
CastRulePredicate.Builder |
CastRulePredicate.Builder.input(LogicalTypeFamily inputTypeFamily) |
CastRulePredicate.Builder |
CastRulePredicate.Builder.target(LogicalTypeFamily outputTypeFamily) |
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.
|
static Signature.Argument |
Signature.Argument.ofGroup(LogicalTypeFamily typeFamily) |
static Signature.Argument |
Signature.Argument.ofGroup(String name,
LogicalTypeFamily typeFamily) |
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 |
---|---|
boolean |
LogicalType.is(LogicalTypeFamily family)
Returns whether the family type of the type equals to the
family or not. |
boolean |
LogicalType.isAnyOf(LogicalTypeFamily... typeFamilies)
Returns whether the root of the type is part of at least one family of the
typeFamily
or not. |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.