public class H2Schema extends Object
| Constructor and Description |
|---|
H2Schema(String schemaName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(H2TableDescriptor tbl) |
int |
decrementUsageCount()
Increments counter for number of caches having this schema.
|
void |
drop(H2TableDescriptor tbl)
Drop table.
|
void |
dropAll()
Called after the schema was dropped.
|
int |
incrementUsageCount()
Increments counter for number of caches having this schema.
|
void |
remove(H2TableDescriptor tbl) |
String |
schemaName() |
H2TableDescriptor |
tableByName(String tblName) |
H2TableDescriptor |
tableByTypeName(String cacheName,
String typeName) |
Collection<H2TableDescriptor> |
tables() |
public H2Schema(String schemaName)
schemaName - Schema name.public String schemaName()
public int incrementUsageCount()
public int decrementUsageCount()
public Collection<H2TableDescriptor> tables()
public H2TableDescriptor tableByName(String tblName)
tblName - Table name.public H2TableDescriptor tableByTypeName(String cacheName, String typeName)
typeName - Type name.public void add(H2TableDescriptor tbl)
tbl - Table descriptor.public void remove(H2TableDescriptor tbl)
tbl - Table descriptor.public void drop(H2TableDescriptor tbl)
tbl - Table to be removed.public void dropAll()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018