public interface FluentIndexes
Indexes helper methods.| Modifier and Type | Method and Description |
|---|---|
static <TItem> Index |
ascending(TItem... fields) |
static Index |
compoundIndex(Index... indexes) |
static <TItem> Index |
descending(TItem... fields) |
static <TItem extends com.mongodb.client.model.geojson.Geometry> |
geo2d(TItem field) |
static <TItem extends com.mongodb.client.model.geojson.Geometry> |
geo2dsphere(TItem... fields) |
static <TItem extends com.mongodb.client.model.geojson.Geometry> |
geoHaystack(TItem field,
Index additional) |
static <TItem extends Comparable<? extends TItem>> |
hashed(TItem field) |
static Index |
text() |
static Index |
text(Collection<String> field) |
static Index |
text(String field) |
@SafeVarargs static <TItem> Index ascending(TItem... fields)
@SafeVarargs static <TItem> Index descending(TItem... fields)
@SafeVarargs static <TItem extends com.mongodb.client.model.geojson.Geometry> Index geo2dsphere(TItem... fields)
static <TItem extends com.mongodb.client.model.geojson.Geometry> Index geo2d(TItem field)
static <TItem extends com.mongodb.client.model.geojson.Geometry> Index geoHaystack(TItem field, Index additional)
static Index text(Collection<String> field)
static Index text()
static <TItem extends Comparable<? extends TItem>> Index hashed(TItem field)
Copyright © 2019 Streamx. All rights reserved.