Class QueryController


  • public class QueryController
    extends java.lang.Object
    • Method Detail

      • getKeyValidator

        public AbstractType<?> getKeyValidator()
      • getIndexes

        public RangeIterator.Builder<java.lang.Long,​Token> getIndexes​(Operation.OperationType op,
                                                                            java.util.Collection<Expression> expressions)
        Build a range iterator from the given list of expressions by applying given operation (OR/AND). Building of such iterator involves index search, results of which are persisted in the internal resources list and can be released later via releaseIndexes(Operation).
        Parameters:
        op - The operation type to coalesce expressions with.
        expressions - The expressions to build range iterator from (expressions with not results are ignored).
        Returns:
        The range builder based on given expressions and operation type.
      • checkpoint

        public void checkpoint()
      • releaseIndexes

        public void releaseIndexes​(Operation operation)
      • finish

        public void finish()