Class IndexExpression

java.lang.Object
dev.morphia.aggregation.expressions.impls.Expression
dev.morphia.aggregation.expressions.impls.IndexExpression

public class IndexExpression extends Expression
Defines the $indexOfBytes expression
Since:
2.0
  • Method Details

    • end

      public IndexExpression end(int end)
      Sets the end boundary for searching
      Parameters:
      end - the end
      Returns:
      this
    • start

      public IndexExpression start(int start)
      Sets the start boundary for searching
      Parameters:
      start - the start
      Returns:
      this