|
Spring Data Document | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mongodb.core.query.Criteria
org.springframework.data.mongodb.gridfs.GridFsCriteria
public class GridFsCriteria
GridFs-specific helper class to define Criterias.
| Constructor Summary | |
|---|---|
GridFsCriteria(String key)
Creates a new GridFsCriteria for the given key. |
|
| Method Summary | |
|---|---|
static GridFsCriteria |
whereContentType()
Creates a GridFsCriteria for restrictions on the file's content type. |
static GridFsCriteria |
whereFilename()
Creates a GridFsCriteria for restrictions on the file's name. |
static GridFsCriteria |
whereMetaData()
Creates a GridFsCriteria for restrictions on the file's metadata. |
static GridFsCriteria |
whereMetaData(String metadataKey)
Creates a GridFsCriteria for restrictions on a single file's metadata item. |
| Methods inherited from class org.springframework.data.mongodb.core.query.Criteria |
|---|
all, all, and, andOperator, elemMatch, equals, exists, getCriteriaObject, getKey, getSingleCriteriaObject, gt, gte, hashCode, in, in, is, lt, lte, maxDistance, mod, ne, near, nearSphere, nin, nin, norOperator, not, orOperator, regex, regex, regex, size, type, where, within, withinSphere |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridFsCriteria(String key)
GridFsCriteria for the given key.
key - | Method Detail |
|---|
public static GridFsCriteria whereMetaData()
GridFsCriteria for restrictions on the file's metadata.
public static GridFsCriteria whereMetaData(String metadataKey)
GridFsCriteria for restrictions on a single file's metadata item.
metadataKey -
public static GridFsCriteria whereFilename()
GridFsCriteria for restrictions on the file's name.
public static GridFsCriteria whereContentType()
GridFsCriteria for restrictions on the file's content type.
|
Spring Data Document | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||