public class GridFsCriteria extends Criteria
Criteria
s.Constructor and Description |
---|
GridFsCriteria(String key)
Creates a new
GridFsCriteria for the given key. |
Modifier and Type | Method and Description |
---|---|
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. |
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
public GridFsCriteria(String key)
GridFsCriteria
for the given key.key
- 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.Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.