public class GridFsCriteria extends Criteria
Criterias.Criteria.BitwiseCriteriaOperators| 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, andDocumentStructureMatches, andOperator, andOperator, bits, byExample, byExample, elemMatch, equals, exists, getCriteriaObject, getKey, getSingleCriteriaObject, gt, gte, hashCode, in, in, intersects, is, isNull, isNullValue, lt, lte, matchingDocumentStructure, maxDistance, minDistance, mod, ne, near, nearSphere, nin, nin, norOperator, norOperator, not, orOperator, orOperator, regex, regex, regex, regex, sampleRate, size, type, type, type, where, within, withinSpherepublic GridFsCriteria(String key)
GridFsCriteria for the given key.key - must not be null.public static GridFsCriteria whereMetaData()
GridFsCriteria for restrictions on the file's metadata.GridFsCriteria.public static GridFsCriteria whereMetaData(@Nullable String metadataKey)
GridFsCriteria for restrictions on a single file's metadata item.metadataKey - can be null.GridFsCriteria.public static GridFsCriteria whereFilename()
GridFsCriteria for restrictions on the file's name.GridFsCriteria.public static GridFsCriteria whereContentType()
GridFsCriteria for restrictions on the file's content type.GridFsCriteria.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.