public class JsonMaterialization extends Object
Occurs within JsonSchema.materializations.
Description of schema elements| Modifier and Type | Field and Description |
|---|---|
Object |
sql
SQL query that defines the materialization.
|
@Nullable String |
table |
@Nullable String |
view |
@Nullable List<String> |
viewSchemaPath |
| Constructor and Description |
|---|
JsonMaterialization(@Nullable String view,
@Nullable String table,
Object sql,
@Nullable List<String> viewSchemaPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ModelHandler handler) |
String |
getSql()
Returns the SQL query as a string, concatenating a list of lines if
necessary.
|
String |
toString() |
public final @Nullable String view
public final @Nullable String table
public final Object sql
Must be a string or a list of strings (which are concatenated into a multi-line SQL string, separated by newlines).
public void accept(ModelHandler handler)
public String getSql()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.