public final class InformationSchemaViewsBuilder extends java.lang.Object implements OptionsBuilder<InformationSchemaViewsBuilder,InformationSchemaViews>
| Modifier and Type | Method and Description |
|---|---|
static InformationSchemaViewsBuilder |
builder() |
static InformationSchemaViewsBuilder |
builder(InformationSchemaViews informationSchemaViews) |
InformationSchemaViewsBuilder |
fromConfig(Config informationSchemaViewsSql)
Information schema views from a map.
|
InformationSchemaViewsBuilder |
fromOptions(InformationSchemaViews informationSchemaViews) |
InformationSchemaViewsBuilder |
fromResourceFolder(java.lang.String classpath)
Information schema views from a map.
|
static InformationSchemaViews |
newInformationSchemaViews() |
static InformationSchemaViews |
newInformationSchemaViews(Config config) |
void |
substituteAll(java.lang.String templateKey,
java.lang.String templateValue) |
Config |
toConfig() |
InformationSchemaViews |
toOptions() |
java.lang.String |
toString() |
InformationSchemaViewsBuilder |
withSql(InformationSchemaKey key,
java.lang.String sql)
Sets definitions SQL.
|
public static InformationSchemaViewsBuilder builder()
public static InformationSchemaViewsBuilder builder(InformationSchemaViews informationSchemaViews)
public static InformationSchemaViews newInformationSchemaViews()
public static InformationSchemaViews newInformationSchemaViews(Config config)
public InformationSchemaViewsBuilder fromConfig(Config informationSchemaViewsSql)
fromConfig in interface OptionsBuilder<InformationSchemaViewsBuilder,InformationSchemaViews>informationSchemaViewsSql - Map of information schema view definitions.public InformationSchemaViewsBuilder fromOptions(InformationSchemaViews informationSchemaViews)
fromOptions in interface OptionsBuilder<InformationSchemaViewsBuilder,InformationSchemaViews>public InformationSchemaViewsBuilder fromResourceFolder(java.lang.String classpath)
classpath - Classpath location for SQL queries.public void substituteAll(java.lang.String templateKey,
java.lang.String templateValue)
public Config toConfig()
toConfig in interface OptionsBuilder<InformationSchemaViewsBuilder,InformationSchemaViews>public InformationSchemaViews toOptions()
toOptions in interface OptionsBuilder<InformationSchemaViewsBuilder,InformationSchemaViews>public java.lang.String toString()
toString in class java.lang.Objectpublic InformationSchemaViewsBuilder withSql(InformationSchemaKey key, java.lang.String sql)
key - SQL query keysql - Definitions SQL.Copyright © 2000-2019 Sualeh Fatehi. All rights reserved.