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