@Internal public class SourceQueryOperation extends Object implements QueryOperation
ContextResolvedTable
.
The source table is described by getContextResolvedTable()
, and in general is used
for every source which implementation is defined with DynamicTableSource
. DataStream
sources are handled by ExternalQueryOperation
.
Constructor and Description |
---|
SourceQueryOperation(ContextResolvedTable contextResolvedTable) |
SourceQueryOperation(ContextResolvedTable contextResolvedTable,
Map<String,String> dynamicOptions) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(QueryOperationVisitor<T> visitor) |
String |
asSerializableString()
Returns a string that fully serializes this instance.
|
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
List<QueryOperation> |
getChildren() |
ContextResolvedTable |
getContextResolvedTable() |
Map<String,String> |
getDynamicOptions() |
ResolvedSchema |
getResolvedSchema()
Resolved schema of this operation.
|
public SourceQueryOperation(ContextResolvedTable contextResolvedTable)
public SourceQueryOperation(ContextResolvedTable contextResolvedTable, @Nullable Map<String,String> dynamicOptions)
public ContextResolvedTable getContextResolvedTable()
public ResolvedSchema getResolvedSchema()
QueryOperation
getResolvedSchema
in interface QueryOperation
public String asSummaryString()
Operation
asSummaryString
in interface Operation
public String asSerializableString()
QueryOperation
Catalog
as a view.asSerializableString
in interface QueryOperation
Operation.asSummaryString()
public List<QueryOperation> getChildren()
getChildren
in interface QueryOperation
public <T> T accept(QueryOperationVisitor<T> visitor)
accept
in interface QueryOperation
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.