public class TypeOperation extends QueryOperationWithField
Represent $type operation. Selects documents where the value of the field is an instance of the specified BSON type(s).
  • Constructor Details

    • TypeOperation

      public TypeOperation(String fieldName, Object type)
  • Method Details

    • getType

      public Object getType()