Class LogicalTypeDefaultVisitor<R>
- java.lang.Object
-
- org.apache.flink.table.types.logical.utils.LogicalTypeDefaultVisitor<R>
-
- All Implemented Interfaces:
LogicalTypeVisitor<R>
- Direct Known Subclasses:
DataGenVisitorBase
,LogicalTypeDuplicator
,PythonTypeUtils.LogicalTypeToProtoTypeConverter
@Internal public abstract class LogicalTypeDefaultVisitor<R> extends Object implements LogicalTypeVisitor<R>
Implementation ofLogicalTypeVisitor
that redirects all calls todefaultMethod(LogicalType)
.
-
-
Constructor Summary
Constructors Constructor Description LogicalTypeDefaultVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract R
defaultMethod(LogicalType logicalType)
R
visit(ArrayType arrayType)
R
visit(BigIntType bigIntType)
R
visit(BinaryType binaryType)
R
visit(BooleanType booleanType)
R
visit(CharType charType)
R
visit(DateType dateType)
R
visit(DayTimeIntervalType dayTimeIntervalType)
R
visit(DecimalType decimalType)
R
visit(DistinctType distinctType)
R
visit(DoubleType doubleType)
R
visit(FloatType floatType)
R
visit(IntType intType)
R
visit(LocalZonedTimestampType localZonedTimestampType)
R
visit(LogicalType other)
R
visit(MapType mapType)
R
visit(MultisetType multisetType)
R
visit(NullType nullType)
R
visit(RawType<?> rawType)
R
visit(RowType rowType)
R
visit(SmallIntType smallIntType)
R
visit(StructuredType structuredType)
R
visit(SymbolType<?> symbolType)
R
visit(TimestampType timestampType)
R
visit(TimeType timeType)
R
visit(TinyIntType tinyIntType)
R
visit(VarBinaryType varBinaryType)
R
visit(VarCharType varCharType)
R
visit(YearMonthIntervalType yearMonthIntervalType)
R
visit(ZonedTimestampType zonedTimestampType)
-
-
-
Method Detail
-
visit
public R visit(CharType charType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(VarCharType varCharType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(BooleanType booleanType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(BinaryType binaryType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(VarBinaryType varBinaryType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(DecimalType decimalType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(TinyIntType tinyIntType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(SmallIntType smallIntType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(IntType intType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(BigIntType bigIntType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(FloatType floatType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(DoubleType doubleType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(DateType dateType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(TimeType timeType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(TimestampType timestampType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(ZonedTimestampType zonedTimestampType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(LocalZonedTimestampType localZonedTimestampType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(YearMonthIntervalType yearMonthIntervalType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(DayTimeIntervalType dayTimeIntervalType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(ArrayType arrayType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(MultisetType multisetType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(MapType mapType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(RowType rowType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(DistinctType distinctType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(StructuredType structuredType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(NullType nullType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(RawType<?> rawType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(SymbolType<?> symbolType)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
visit
public R visit(LogicalType other)
- Specified by:
visit
in interfaceLogicalTypeVisitor<R>
-
defaultMethod
protected abstract R defaultMethod(LogicalType logicalType)
-
-