@Internal public class LogicalTypeDuplicator extends LogicalTypeDefaultVisitor<LogicalType>
LogicalType
.
It also enables replacing children of possibly nested structures by overwriting corresponding
visit()
methods.
Constructor and Description |
---|
LogicalTypeDuplicator() |
Modifier and Type | Method and Description |
---|---|
protected LogicalType |
defaultMethod(LogicalType logicalType) |
LogicalType |
visit(ArrayType arrayType) |
LogicalType |
visit(DistinctType distinctType) |
LogicalType |
visit(MapType mapType) |
LogicalType |
visit(MultisetType multisetType) |
LogicalType |
visit(RowType rowType) |
LogicalType |
visit(StructuredType structuredType) |
public LogicalType visit(ArrayType arrayType)
visit
in interface LogicalTypeVisitor<LogicalType>
visit
in class LogicalTypeDefaultVisitor<LogicalType>
public LogicalType visit(MultisetType multisetType)
visit
in interface LogicalTypeVisitor<LogicalType>
visit
in class LogicalTypeDefaultVisitor<LogicalType>
public LogicalType visit(MapType mapType)
visit
in interface LogicalTypeVisitor<LogicalType>
visit
in class LogicalTypeDefaultVisitor<LogicalType>
public LogicalType visit(RowType rowType)
visit
in interface LogicalTypeVisitor<LogicalType>
visit
in class LogicalTypeDefaultVisitor<LogicalType>
public LogicalType visit(DistinctType distinctType)
visit
in interface LogicalTypeVisitor<LogicalType>
visit
in class LogicalTypeDefaultVisitor<LogicalType>
public LogicalType visit(StructuredType structuredType)
visit
in interface LogicalTypeVisitor<LogicalType>
visit
in class LogicalTypeDefaultVisitor<LogicalType>
protected LogicalType defaultMethod(LogicalType logicalType)
defaultMethod
in class LogicalTypeDefaultVisitor<LogicalType>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.