public class ExternalDataSource extends Object implements DataSource
InputSource and InputFormat, plus a RowSignature so the SQL planner has
the type information necessary to validate and plan the query.
This class is exercised in CalciteInsertDmlTest but is not currently exposed to end users.| Constructor and Description |
|---|
ExternalDataSource(InputSource inputSource,
InputFormat inputFormat,
RowSignature signature) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<DataSource> |
getChildren() |
InputFormat |
getInputFormat() |
InputSource |
getInputSource() |
RowSignature |
getSignature() |
Set<String> |
getTableNames() |
int |
hashCode() |
boolean |
isCacheable(boolean isBroker) |
boolean |
isConcrete() |
boolean |
isGlobal() |
String |
toString() |
DataSource |
withChildren(List<DataSource> children) |
public ExternalDataSource(InputSource inputSource, InputFormat inputFormat, RowSignature signature)
public InputSource getInputSource()
public InputFormat getInputFormat()
public RowSignature getSignature()
public Set<String> getTableNames()
getTableNames in interface DataSourcepublic List<DataSource> getChildren()
getChildren in interface DataSourcepublic DataSource withChildren(List<DataSource> children)
withChildren in interface DataSourcepublic boolean isCacheable(boolean isBroker)
isCacheable in interface DataSourcepublic boolean isGlobal()
isGlobal in interface DataSourcepublic boolean isConcrete()
isConcrete in interface DataSourceCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.