public class SchemaDescriptor extends Object
| Constructor and Description |
|---|
SchemaDescriptor(String schemaName,
boolean predefined)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(TableDescriptor tbl) |
boolean |
decrementUsageCount()
Increments counter for number of caches having this schema.
|
void |
drop(TableDescriptor tbl)
Drop table.
|
void |
incrementUsageCount()
Increments counter for number of caches having this schema.
|
boolean |
predefined() |
String |
schemaName() |
TableDescriptor |
tableByName(String tblName) |
TableDescriptor |
tableByTypeName(String cacheName,
String typeName) |
Collection<TableDescriptor> |
tables() |
public SchemaDescriptor(String schemaName, boolean predefined)
schemaName - Schema name.predefined - Predefined flag.public String schemaName()
public void incrementUsageCount()
public boolean decrementUsageCount()
public Collection<TableDescriptor> tables()
public TableDescriptor tableByName(String tblName)
tblName - Table name.public TableDescriptor tableByTypeName(String cacheName, String typeName)
typeName - Type name.public void add(TableDescriptor tbl)
tbl - Table descriptor.public void drop(TableDescriptor tbl)
tbl - Table to be removed.public boolean predefined()
True if schema is predefined.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023