public class ReadMethodsForSchema extends MongoDatabaseMethods
MongoDatabaseMethods.Operator| Constructor and Description |
|---|
ReadMethodsForSchema() |
| Modifier and Type | Method and Description |
|---|---|
ch.agent.crnickl.api.UpdatableSchema |
getSchema(ch.agent.crnickl.api.Surrogate surrogate)
Find a schema corresponding to a surrogate.
|
Collection<ch.agent.crnickl.api.Surrogate> |
getSchemaSurrogateList(ch.agent.crnickl.api.Database db,
String pattern)
Find a collection of schema surrogates with labels matching a pattern.
|
addOperation, asQuery, compositeName, extractRegexp, getId, getId, getIdOrZero, getMongoDB, getMongoDB, getMongoDB, getObject, getObjectId, makeSurrogate, mongoObject, operationpublic ch.agent.crnickl.api.UpdatableSchema getSchema(ch.agent.crnickl.api.Surrogate surrogate)
throws ch.agent.crnickl.T2DBException
surrogate - a surrogatech.agent.crnickl.T2DBExceptionpublic Collection<ch.agent.crnickl.api.Surrogate> getSchemaSurrogateList(ch.agent.crnickl.api.Database db, String pattern) throws ch.agent.crnickl.T2DBException
db - a databasepattern - a simple pattern where "*" stands for zero or more charactersch.agent.crnickl.T2DBExceptionCopyright © 2017. All rights reserved.