Package | Description |
---|---|
net.ravendb.client.document | |
net.ravendb.client.linq |
Modifier and Type | Method and Description |
---|---|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.beforeQueryExecution(Action1<IndexQuery> action)
Allow you to modify the index query before it is executed
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.customSortUsing(String typeName) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.customSortUsing(String typeName,
boolean descending) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.highlight(String fieldName,
int fragmentLength,
int fragmentCount,
Reference<FieldHighlightings> highlightings)
Adds matches highlighting for the specified field.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.highlight(String fieldName,
int fragmentLength,
int fragmentCount,
String fragmentsField)
Adds matches highlighting for the specified field.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.highlight(String fieldName,
String fieldKeyName,
int fragmentLength,
int fragmentCount,
Reference<FieldHighlightings> highlightings)
Adds matches highlighting for the specified field.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.include(Class<?> targetEntityClass,
com.mysema.query.types.Path<?> path)
Includes the specified path in the query, loading the document specified in that path
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.include(com.mysema.query.types.Path<?> path)
Includes the specified path in the query, loading the document specified in that path
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.include(String path)
Includes the specified path in the query, loading the document specified in that path
|
static DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.join(DocumentQueryCustomizationFactory firstCustomize,
DocumentQueryCustomizationFactory secondCustomize) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.noCaching()
Disables caching for query results.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.noTracking()
Disables tracking for queried entities by Raven's Unit of Work.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.randomOrdering()
Order the search results randomly
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.randomOrdering(String seed)
Order the search results randomly using the specified seed
this is useful if you want to have repeatable random queries
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.relatesToShape(String fieldName,
String shapeWKT,
SpatialOptions.SpatialRelation rel)
Filter matches based on a given shape - only documents with the shape defined in fieldName that
have a relation rel with the given shapeWKT will be returned
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.setAllowMultipleIndexEntriesForSameDocumentToResultTransformer(boolean val) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.setHighlighterTags(String[] preTags,
String[] postTags)
Sets the tags to highlight matches with.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.setHighlighterTags(String preTag,
String postTag)
Sets the tags to highlight matches with.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.showTimings() |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.sortByDistance()
When using spatial queries, instruct the query to sort by the distance from the origin point
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.sortByDistance(double lat,
double lng)
When using spatial queries, instruct the query to sort by the distance from the origin point
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.sortByDistance(double lat,
double lng,
String sortedFieldName)
When using spatial queries, instruct the query to sort by the distance from the origin point
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.spatial(String fieldName,
SpatialCriteria criteria) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.transformResults(ShardReduceFunction func) |
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResults()
EXPERT ONLY: Instructs the query to wait for non stale results.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResults(long waitTimeout)
EXPERT ONLY: Instructs the query to wait for non stale results for the specified wait timeout.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOf(Date cutOff)
Instructs the query to wait for non stale results as of the cutoff date.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOf(Date cutOff,
long waitTimeout)
Instructs the query to wait for non stale results as of the cutoff date for the specified timeout
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOf(Etag cutOffEtag)
Instructs the query to wait for non stale results as of the cutoff etag.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOf(Etag cutOffEtag,
long waitTimeout)
Instructs the query to wait for non stale results as of the cutoff etag for the specified timeout.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOfLastWrite()
Instructs the query to wait for non stale results as of the last write made by any session belonging to the
current document store.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOfLastWrite(long waitTimeout)
Instructs the query to wait for non stale results as of the last write made by any session belonging to the
current document store.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOfNow()
Instructs the query to wait for non stale results as of now.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.waitForNonStaleResultsAsOfNow(long waitTimeout)
Instructs the query to wait for non stale results as of now for the specified timeout.
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.withinRadiusOf(double radius,
double latitude,
double longitude)
Filter matches to be inside the specified radius
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.withinRadiusOf(double radius,
double latitude,
double longitude,
SpatialOptions.SpatialUnits radiusUnits)
Filter matches to be inside the specified radius
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.withinRadiusOf(String fieldName,
double radius,
double latitude,
double longitude)
Filter matches to be inside the specified radius
|
DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.withinRadiusOf(String fieldName,
double radius,
double latitude,
double longitude,
SpatialOptions.SpatialUnits radiusUnits)
Filter matches to be inside the specified radius
|
Modifier and Type | Method and Description |
---|---|
static DocumentQueryCustomizationFactory |
DocumentQueryCustomizationFactory.join(DocumentQueryCustomizationFactory firstCustomize,
DocumentQueryCustomizationFactory secondCustomize) |
Modifier and Type | Method and Description |
---|---|
DocumentQueryCustomizationFactory |
RavenQueryProvider.getCustomizedQuery() |
DocumentQueryCustomizationFactory |
IRavenQueryProvider.getCustomizeQuery() |
DocumentQueryCustomizationFactory |
RavenQueryProvider.getCustomizeQuery() |
Modifier and Type | Method and Description |
---|---|
IRavenQueryable<T> |
IRavenQueryable.customize(DocumentQueryCustomizationFactory customizationFactory)
Customizes the query using the specified action
|
void |
IRavenQueryProvider.customize(DocumentQueryCustomizationFactory factory)
Customizes the query using the specified action
|
void |
RavenQueryProvider.customize(DocumentQueryCustomizationFactory factory)
Customizes the query using the specified action
|
IRavenQueryable<T> |
RavenQueryInspector.customize(DocumentQueryCustomizationFactory factory)
Customizes the query using the specified action
|
Constructor and Description |
---|
RavenQueryProviderProcessor(Class<T> clazz,
IDocumentQueryGenerator queryGenerator,
DocumentQueryCustomizationFactory customizeQuery,
Action1<QueryResult> afterQueryExecuted,
Action1<RavenJObject> afterStreamExecuted,
String indexName,
Set<String> fieldsToFetch,
List<RenamedField> fieldsToRename,
boolean isMapReduce,
String resultsTransformer,
Map<String,RavenJToken> transformerParameters,
Class originalType) |
Copyright © 2016. All Rights Reserved.