Package | Description |
---|---|
com.allanbank.mongodb |
Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests.
|
com.allanbank.mongodb.builder |
Provides domain classes and builders for queries and the common MongoDB commands.
|
com.allanbank.mongodb.client |
Provides implementations of the main client interfaces and classes to translate the
Reply (s) from the server. |
Modifier and Type | Method and Description |
---|---|
MongoIterator<TextResult> |
MongoCollection.textSearch(Text.Builder command)
Deprecated.
Support for the
text command was deprecated in the
2.6 version of MongoDB. Use the
$text query operator
instead. This method will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10). |
void |
AsyncMongoCollection.textSearchAsync(Callback<MongoIterator<TextResult>> results,
Text.Builder command)
Deprecated.
Support for the
text command was deprecated in the
2.6 version of MongoDB. Use the
$text query operator
instead. This method will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10). |
ListenableFuture<MongoIterator<TextResult>> |
AsyncMongoCollection.textSearchAsync(Text.Builder command)
Deprecated.
Support for the
text command was deprecated in the
2.6 version of MongoDB. Use the
$text query operator
instead. This method will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10). |
Modifier and Type | Method and Description |
---|---|
static Text.Builder |
Text.builder()
Deprecated.
Creates a new builder for a
Text command. |
Text.Builder |
Text.Builder.language(String language)
Deprecated.
Sets the language to use when stemming the search terms to the new
value.
|
Text.Builder |
Text.Builder.limit(int limit)
Deprecated.
Sets the maximum number of document to return to the new value.
|
Text.Builder |
Text.Builder.query(DocumentAssignable query)
Deprecated.
Sets the standard MongoDB query document to limit the final results
to the new value.
|
Text.Builder |
Text.Builder.readPreference(ReadPreference readPreference)
Deprecated.
Sets the
ReadPreference specifying which servers may be used
to execute the Text command. |
Text.Builder |
Text.Builder.reset()
Deprecated.
Resets the builder back to its initial state.
|
Text.Builder |
Text.Builder.returnFields(DocumentAssignable returnFields)
Deprecated.
Sets the fields to return from the query to the new value.
|
Text.Builder |
Text.Builder.searchTerm(String searchTerm)
Deprecated.
Sets the search term to the new value.
|
Text.Builder |
Text.Builder.setLanguage(String language)
Deprecated.
Sets the language to use when stemming the search terms to the new
value.
|
Text.Builder |
Text.Builder.setLimit(int limit)
Deprecated.
Sets the maximum number of document to return to the new value.
|
Text.Builder |
Text.Builder.setQuery(DocumentAssignable query)
Deprecated.
Sets the standard MongoDB query document to limit the final results
to the new value.
|
Text.Builder |
Text.Builder.setReadPreference(ReadPreference readPreference)
Deprecated.
Sets the
ReadPreference specifying which servers may be used
to execute the Text command. |
Text.Builder |
Text.Builder.setReturnFields(DocumentAssignable returnFields)
Deprecated.
Sets the fields to return from the query to the new value.
|
Text.Builder |
Text.Builder.setSearchTerm(String searchTerm)
Deprecated.
Sets the search term to the new value.
|
Constructor and Description |
---|
Text(Text.Builder builder)
Deprecated.
Creates a new Text.
|
Modifier and Type | Method and Description |
---|---|
MongoIterator<TextResult> |
SynchronousMongoCollectionImpl.textSearch(Text.Builder command)
Deprecated.
Support for the
text command was deprecated in the
2.6 version of MongoDB. Use the
$text query operator
instead. This method will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10). |
void |
AbstractAsyncMongoCollection.textSearchAsync(Callback<MongoIterator<TextResult>> results,
Text.Builder command)
Deprecated.
Support for the
text command was deprecated in the
2.6 version of MongoDB. Use the
$text query operator
instead. This method will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10). |
ListenableFuture<MongoIterator<TextResult>> |
AbstractAsyncMongoCollection.textSearchAsync(Text.Builder command)
Deprecated.
Support for the
text command was deprecated in the
2.6 version of MongoDB. Use the
$text query operator
instead. This method will not be removed until two releases
after the MongoDB 2.6 release (e.g. 2.10 if the releases are
2.8 and 2.10). |
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.