public class GridFsCriteria extends Criteria
Criterias.| 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. |
alike, all, all, and, andOperator, byExample, byExample, elemMatch, equals, exists, getCriteriaObject, getKey, getSingleCriteriaObject, gt, gte, hashCode, in, in, intersects, is, lt, lte, maxDistance, minDistance, mod, ne, near, nearSphere, nin, nin, norOperator, not, orOperator, regex, regex, regex, regex, size, type, where, within, withinSpherepublic 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–2017 Pivotal Software, Inc.. All rights reserved.