| Package | Description |
|---|---|
| com.mysql.cj.xdevapi |
Java classes for X DevAPI support.
|
| testsuite.x.devapi |
Dev API test suite.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionImpl |
| Modifier and Type | Method and Description |
|---|---|
Collection |
SchemaImpl.createCollection(java.lang.String collectionName) |
Collection |
Schema.createCollection(java.lang.String name)
Create a new collection.
|
Collection |
SchemaImpl.createCollection(java.lang.String collectionName,
boolean reuseExisting) |
Collection |
Schema.createCollection(java.lang.String name,
boolean reuseExisting)
Create a new collection if it does not already exist on the server.
|
Collection |
SchemaImpl.createCollection(java.lang.String collectionName,
Schema.CreateCollectionOptions options) |
Collection |
Schema.createCollection(java.lang.String collectionName,
Schema.CreateCollectionOptions options)
Create a new collection.
|
Collection |
SchemaImpl.getCollection(java.lang.String collectionName) |
Collection |
Schema.getCollection(java.lang.String name)
Retrieve a reference to the named collection.
|
Collection |
SchemaImpl.getCollection(java.lang.String collectionName,
boolean requireExists) |
Collection |
Schema.getCollection(java.lang.String name,
boolean requireExists)
Retrieve a reference to the named collection hinting that an exception should be thrown if the collection is not known to the server.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Collection> |
SchemaImpl.getCollections() |
java.util.List<Collection> |
Schema.getCollections()
Retrieve the set of collections existing in this schema.
|
java.util.List<Collection> |
SchemaImpl.getCollections(java.lang.String pattern) |
java.util.List<Collection> |
Schema.getCollections(java.lang.String pattern)
Retrieve the set of collections existing in this schema and matching the given pattern.
|
| Modifier and Type | Field and Description |
|---|---|
protected Collection |
TransactionTest.collection |
protected Collection |
BaseCollectionTestCase.collection
Collection for testing.
|