Enum QueryFlag

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<QueryFlag>

    public enum QueryFlag
    extends java.lang.Enum<QueryFlag>
    • Enum Constant Detail

      • TAILABLE

        public static final QueryFlag TAILABLE
      • SLAVE_OK

        public static final QueryFlag SLAVE_OK
      • OPLOG_REPLAY

        public static final QueryFlag OPLOG_REPLAY
      • NO_CURSOR_TIMEOUT

        public static final QueryFlag NO_CURSOR_TIMEOUT
      • AWAIT_DATA

        public static final QueryFlag AWAIT_DATA
      • EXHAUST

        public static final QueryFlag EXHAUST
      • PARTIAL

        public static final QueryFlag PARTIAL
    • Method Detail

      • values

        public static QueryFlag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (QueryFlag c : QueryFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QueryFlag valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isSet

        public boolean isSet​(int flags)
      • removeFrom

        public int removeFrom​(int flags)