public class H2Schema extends Object
| Constructor and Description |
|---|
H2Schema(String schemaName,
boolean predefined)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(H2TableDescriptor tbl) |
boolean |
decrementUsageCount()
Increments counter for number of caches having this schema.
|
void |
drop(H2TableDescriptor tbl)
Drop table.
|
void |
incrementUsageCount()
Increments counter for number of caches having this schema.
|
boolean |
predefined() |
String |
schemaName() |
H2TableDescriptor |
tableByName(String tblName) |
H2TableDescriptor |
tableByTypeName(String cacheName,
String typeName) |
Collection<H2TableDescriptor> |
tables() |
public H2Schema(String schemaName, boolean predefined)
schemaName - Schema name.predefined - Predefined flag.public String schemaName()
public void incrementUsageCount()
public boolean 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 drop(H2TableDescriptor tbl)
tbl - Table to be removed.public boolean predefined()
True if schema is predefined.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025