- getAlias(TypedExpression<?>) - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
Get the alias associated to given expression, if any.
- getBatchSize() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the number of documents to return per batch.
- getBson() - Method in interface com.holonplatform.datastore.mongo.core.BsonFilter
-
Get the filter expression as a Bson expression.
- getBson() - Method in interface com.holonplatform.datastore.mongo.core.BsonSort
-
Get the sort expression as a Bson expression.
- getBson() - Method in class com.holonplatform.datastore.mongo.core.internal.DefaultBsonFilter
-
- getBson() - Method in class com.holonplatform.datastore.mongo.core.internal.DefaultBsonSort
-
- getClient() - Method in interface com.holonplatform.datastore.mongo.core.async.config.AsyncMongoDatastoreCommodityContext
-
Get the MongoDB client.
- getClient() - Method in class com.holonplatform.datastore.mongo.core.async.internal.AbstractAsyncMongoDatastore
-
- getClient() - Method in interface com.holonplatform.datastore.mongo.sync.config.SyncMongoDatastoreCommodityContext
-
Get the MongoDB client.
- getClient() - Method in class com.holonplatform.datastore.mongo.sync.internal.DefaultMongoDatastore
-
- getClientSession() - Method in class com.holonplatform.datastore.mongo.core.async.internal.AbstractAsyncMongoDatastore
-
- getClientSession() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoContext
-
Get the current client session, if available.
- getClientSession() - Method in class com.holonplatform.datastore.mongo.sync.internal.DefaultMongoDatastore
-
- getCollation() - Method in interface com.holonplatform.datastore.mongo.core.CollationOption
-
Get the MongoDB Collation to use.
- getCollation() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the Collation to use.
- getCollation() - Method in class com.holonplatform.datastore.mongo.core.internal.DefaultCollationOption
-
- getCollectionName() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the collection name to query.
- getComment() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the query comment.
- getConfiguration() - Method in interface com.holonplatform.datastore.mongo.core.tx.MongoTransaction
-
Get the transaction configuration.
- getConversionType() - Method in interface com.holonplatform.datastore.mongo.core.document.DocumentConverter
-
Get the type into which this converter is able to convert a Document.
- getConverter() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonProjection
-
- getCursorType() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the cursor type to use.
- getDatabaseCodecRegistry() - Method in class com.holonplatform.datastore.mongo.core.async.internal.AbstractAsyncMongoDatastore
-
- getDatabaseCodecRegistry() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoContext
-
Get the CodecRegistry bound to the current database.
- getDatabaseCodecRegistry() - Method in class com.holonplatform.datastore.mongo.sync.internal.DefaultMongoDatastore
-
- getDatabaseName() - Method in interface com.holonplatform.datastore.mongo.core.config.MongoDatastoreCommodityContext
-
Get the MongoDB database name to which the Datastore is bound.
- getDataContextId() - Method in class com.holonplatform.datastore.mongo.spring.MongoDatastoreConfigProperties.MongoDatastoreConfigPropertiesImpl
-
- getDefault() - Static method in interface com.holonplatform.datastore.mongo.core.document.DocumentIdResolver
-
- getDefault() - Static method in enum com.holonplatform.datastore.mongo.core.document.EnumCodecStrategy
-
- getDefaultEnumCodecStrategy() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoContext
-
- getDefaultReadConcern() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoContext
-
Get the default ReadConcern to declare the read operations isolation level.
- getDefaultReadPreference() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoContext
-
Get the default ReadPreference for query or data read operations.
- getDefaultResolvers() - Static method in interface com.holonplatform.datastore.mongo.core.resolver.MongoExpressionResolver
-
- getDefaultWriteConcern() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoContext
-
Get the default WriteConcern to use with write operations.
- getDefinition() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQuery
-
Get the query definition.
- getDistinctFieldName() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQuery
-
If the query is a distinct field value query, get the field name.
- getDocumentIdPath() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoDocumentContext
-
Get the Path which acts as document id, if available.
- getDocumentIdProperty() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoDocumentContext
-
Get the Property which acts as document id, if available.
- getDocumentIdResolver() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoContext
-
- getEnumCodecStrategy() - Method in interface com.holonplatform.datastore.mongo.core.expression.FieldValue
-
- getEnumCodecStrategy() - Method in interface com.holonplatform.datastore.mongo.core.expression.Value
-
- getExpression(String) - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
Get the expression bound to given alias, if any.
- getExpression() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonFilterExpression
-
Get the filter expression.
- getExpression() - Method in interface com.holonplatform.datastore.mongo.core.expression.FieldValue
-
Get the TypedExpression to which the field value is bound, if any.
- getExpression() - Method in interface com.holonplatform.datastore.mongo.core.expression.Value
-
Get the TypedExpression to which the value is bound, if any.
- getExpressionAliasProvider() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
Get the ExpressionAliasProvider.
- getFieldName() - Method in interface com.holonplatform.datastore.mongo.core.expression.FieldName
-
Get the document field name.
- getFieldNames() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonProjection
-
Get the field names.
- getFieldProjections() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonProjection
-
Get the field projection values.
- getFields() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonProjection
-
Get the projection fields as field name - Bson expression map.
- getFilter() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the query filters.
- getGroup() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the group id for aggregation type query.
- getGroupFilter() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the filter to apply to the group stage in an aggregation type query.
- getHint() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the hint for which index to use.
- getLimit() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the query results limit.
- getMatch() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonFilterExpression.FilterAggregationPipeline
-
Get the match stage.
- getMax() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the exclusive upper bound for a specific index.
- getMin() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the minimum inclusive lower bound for a specific index.
- getName() - Method in interface com.holonplatform.datastore.mongo.core.expression.CollectionName
-
Get the database collection name.
- getNextProjectionFieldName() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
For generated projection field names, get the next name.
- getOffset() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the number of query results to skip.
- getOrCreateAlias(TypedExpression<?>) - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
Get the alias for given expression or create one if does not exist.
- getParent() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
Get the parent context, if available.
- getPipeline() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonFilterExpression
-
If the filter must be represented using an aggregation pipeline, returns the pipeline.
- getProjection() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonFilterExpression.FilterAggregationPipeline
-
Get the projection stage.
- getProjection() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQuery
-
Get the query projection.
- getPropertySet() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoDocumentContext
-
Get the PropertySet to which the document resolution is bound.
- getPropertySet() - Method in interface com.holonplatform.datastore.mongo.core.expression.PropertyBoxValue
-
Get the expression property set.
- getQueryOperationType() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
- getReadConcern() - Method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoReadConcern
-
Get the actual ReadConcern implementation.
- getReadConcern() - Method in interface com.holonplatform.datastore.mongo.core.tx.MongoTransactionOptions
-
Get the read concern to use with the transaction, if configured.
- getReadPreference() - Method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoReadPreference
-
Get the actual ReadPreference implementation, if available.
- getReadPreference() - Method in interface com.holonplatform.datastore.mongo.core.tx.MongoTransactionOptions
-
Get the read preference to use with the transaction, if configured.
- getResolvedType() - Method in interface com.holonplatform.datastore.mongo.core.resolver.BsonExpressionResolver
-
- getSession() - Method in interface com.holonplatform.datastore.mongo.core.tx.MongoTransaction
-
Get the ClientSession bound to this transaction.
- getSort() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the query sorts.
- getTimeout() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
- getTimeoutUnit() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get the query execution timeout unit.
- getUpdatePath() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
If this context is intended for an update type operation, get the optional single Path to which the
update operation refers.
- getValue() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonExpression
-
Get the Bson value.
- getValue() - Method in interface com.holonplatform.datastore.mongo.core.expression.DocumentValue
-
Get the actual Document value.
- getValue() - Method in interface com.holonplatform.datastore.mongo.core.expression.FieldValue
-
Get the field value.
- getValue() - Method in interface com.holonplatform.datastore.mongo.core.expression.PropertyBoxValue
-
Get the PropertyBox value.
- getValue() - Method in interface com.holonplatform.datastore.mongo.core.expression.Value
-
Get the expression value.
- getWriteConcern() - Method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoWriteConcern
-
Get the actual WriteConcern implementation, if available.
- getWriteConcern() - Method in class com.holonplatform.datastore.mongo.core.internal.DefaultWriteConcernOption
-
- getWriteConcern() - Method in interface com.holonplatform.datastore.mongo.core.tx.MongoTransactionOptions
-
Get the write concern to use with the transaction, if configured.
- getWriteConcern() - Method in interface com.holonplatform.datastore.mongo.core.WriteConcernOption
-
Get the MongoDB WriteConcern value.
- group(Bson) - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition.Builder
-
Set the group id for aggregation type query.
- groupFilter(BsonFilterExpression) - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition.Builder
-
Set the filter to apply to the group stage in an aggregation type query.
- ID_FIELD_NAME - Static variable in interface com.holonplatform.datastore.mongo.core.context.MongoDocumentContext
-
Default MongoDB document id field name
- identity() - Static method in interface com.holonplatform.datastore.mongo.core.document.DocumentConverter
-
Get a
DocumentConverter which simply returns the document instance, without performing any conversion
operation.
- ids1() - Method in class com.holonplatform.datastore.mongo.examples.ExampleMongoDatastore
-
- ids2() - Method in class com.holonplatform.datastore.mongo.examples.ExampleMongoDatastore
-
- InvalidDocumentIdentifierException - Exception in com.holonplatform.datastore.mongo.core.exceptions
-
An exception used to notify invalid document identifier representation or data type.
- InvalidDocumentIdentifierException(String) - Constructor for exception com.holonplatform.datastore.mongo.core.exceptions.InvalidDocumentIdentifierException
-
Constructor with error message.
- InvalidDocumentIdentifierException(String, Throwable) - Constructor for exception com.holonplatform.datastore.mongo.core.exceptions.InvalidDocumentIdentifierException
-
Constructor with error message and cause.
- isAsync() - Method in class com.holonplatform.datastore.mongo.core.async.internal.AbstractAsyncMongoDatastore
-
- isAsync() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoOperationContext
-
Gets whether the MongoDB driver in use is asynchronous.
- isAsync() - Method in class com.holonplatform.datastore.mongo.sync.internal.DefaultMongoDatastore
-
- isCountAllProjection() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonProjection
-
Get whether this projection is a count all projection.
- isCountFieldProjection() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonProjection
-
Get whether this projection is a count projection on a specific field name.
- isDistinct() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get whether the query is configured to return distinct results.
- isDocumentContext(ExpressionResolver.ResolutionContext) - Static method in interface com.holonplatform.datastore.mongo.core.context.MongoDocumentContext
-
- isDocumentIdPath(Path<?>) - Method in interface com.holonplatform.datastore.mongo.core.context.MongoDocumentContext
-
Checks if given path matches the document id path, if available.
- isDocumentIdProperty(Property<?>) - Method in interface com.holonplatform.datastore.mongo.core.context.MongoDocumentContext
-
Checks if given property is the document id property.
- isEmpty() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonProjection
-
Get whether the projection is empty.
- isForUpdate() - Method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
Get whether this context is intended for an update type operation.
- isMongoResolutionContext(ExpressionResolver.ResolutionContext) - Static method in interface com.holonplatform.datastore.mongo.core.context.MongoResolutionContext
-
- isPartial() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Whether to get partial results from a sharded cluster if one or more shards are unreachable (instead of throwing
an error).
- isReturnKey() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Get whether the find operation will return only the index keys in the resulting documents.
- isShowRecordId() - Method in interface com.holonplatform.datastore.mongo.core.expression.BsonQueryDefinition
-
Whether to add a $recordId field to the returned documents.
- isValidDocumentIdType(Property<?>) - Method in interface com.holonplatform.datastore.mongo.core.document.DocumentIdResolver
-
Checks if the type of given property is a valid document id type.
- isValidDocumentIdType(Class<?>) - Method in interface com.holonplatform.datastore.mongo.core.document.DocumentIdResolver
-
Checks if the given type is a valid document id type.
- validate() - Method in class com.holonplatform.datastore.mongo.core.internal.DefaultBsonFilter
-
- validate() - Method in class com.holonplatform.datastore.mongo.core.internal.DefaultBsonSort
-
- value(Class<T>, String) - Static method in interface com.holonplatform.datastore.mongo.core.document.DocumentConverter
-
Create a new
DocumentConverter to return a document field without performing any conversion.
- Value<T> - Interface in com.holonplatform.datastore.mongo.core.expression
-
Expression which represents a value which can be bound to a Property.
- valueOf(String) - Static method in enum com.holonplatform.datastore.mongo.core.document.EnumCodecStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.holonplatform.datastore.mongo.core.document.QueryOperationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.holonplatform.datastore.mongo.core.DocumentWriteOption
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoReadConcern
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoReadPreference
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoWriteConcern
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.holonplatform.datastore.mongo.core.document.EnumCodecStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.holonplatform.datastore.mongo.core.document.QueryOperationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.holonplatform.datastore.mongo.core.DocumentWriteOption
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoReadConcern
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoReadPreference
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.holonplatform.datastore.mongo.core.enumerations.MongoWriteConcern
-
Returns an array containing the constants of this enum type, in
the order they are declared.