Class WhereCriteria

  • All Implemented Interfaces:
    Criteria

    @Deprecated(since="2.0",
                forRemoval=true)
    public class WhereCriteria
    extends AbstractCriteria
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates a Criteria for a $where clause.
    • Constructor Detail

      • WhereCriteria

        public WhereCriteria​(String js)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a WhereCriteria with the given javascript
        Parameters:
        js - the javascript
    • Method Detail

      • toDocument

        public Document toDocument()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns:
        the Document form of this type
      • getFieldName

        public String getFieldName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns:
        the field name for the criteria