Class WhereCriteria

  • All Implemented Interfaces:
    Criteria

    @Deprecated
    public class WhereCriteria
    extends AbstractCriteria
    Deprecated.
    no replacement is planned
    Creates a Criteria for a $where clause.
    • Constructor Detail

      • WhereCriteria

        public WhereCriteria​(java.lang.String js)
        Deprecated.
        Creates a WhereCriteria with the given javascript
        Parameters:
        js - the javascript
      • WhereCriteria

        public WhereCriteria​(org.bson.types.CodeWScope js)
        Deprecated.
        Creates a WhereCriteria with the given javascript
        Parameters:
        js - the javascript
    • Method Detail

      • toDBObject

        public com.mongodb.DBObject toDBObject()
        Deprecated.
        Returns:
        the DBObject form of this type
      • getFieldName

        public java.lang.String getFieldName()
        Deprecated.
        Returns:
        the field name for the criteria