public class View extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
View.FieldType |
| Constructor and Description |
|---|
View(String name,
String sql,
List<View.FieldType> fields,
List<String> workspaceSchemaPath) |
View(String name,
String sql,
org.apache.calcite.rel.type.RelDataType rowType,
List<String> workspaceSchemaPath) |
| Modifier and Type | Method and Description |
|---|---|
List<View.FieldType> |
getFields() |
String |
getName() |
org.apache.calcite.rel.type.RelDataType |
getRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory) |
String |
getSql() |
List<String> |
getWorkspaceSchemaPath() |
boolean |
hasStar() |
boolean |
isDynamic() |
void |
setSql(String sql) |
public View(String name, String sql, org.apache.calcite.rel.type.RelDataType rowType, List<String> workspaceSchemaPath)
public org.apache.calcite.rel.type.RelDataType getRowType(org.apache.calcite.rel.type.RelDataTypeFactory factory)
public boolean isDynamic()
public boolean hasStar()
public String getSql()
public void setSql(String sql)
public String getName()
public List<View.FieldType> getFields()
Copyright © 2017 The Apache Software Foundation. All rights reserved.