@Immutable public class ImmutableSchemata extends Object implements Schemata
Schemata
implementation.Modifier and Type | Class and Description |
---|---|
static class |
ImmutableSchemata.Builder
A builder of immutable
Schemata objects. |
protected static class |
ImmutableSchemata.MutableTable |
Schemata.Column, Schemata.Key, Schemata.Table, Schemata.View
Modifier | Constructor and Description |
---|---|
protected |
ImmutableSchemata(Map<SelectorName,Schemata.Table> tables) |
Modifier and Type | Method and Description |
---|---|
static ImmutableSchemata.Builder |
createBuilder(ExecutionContext context,
NodeTypes nodeTypes)
Obtain a new instance for building Schemata objects.
|
Schemata.Table |
getTable(SelectorName name)
Get the information for the table or view with the supplied name within this schema.
|
String |
toString() |
ImmutableSchemata |
with(Schemata.Table table) |
protected ImmutableSchemata(Map<SelectorName,Schemata.Table> tables)
public static ImmutableSchemata.Builder createBuilder(ExecutionContext context, NodeTypes nodeTypes)
context
- the execution context that this schemata should usenodeTypes
- the node types that this schemata should useIllegalArgumentException
- if the context is nullpublic Schemata.Table getTable(SelectorName name)
Schemata
The resulting definition is immutable.
public ImmutableSchemata with(Schemata.Table table)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.