Example usage for com.google.common.base Predicate subclass-usage

List of usage examples for com.google.common.base Predicate subclass-usage

Introduction

In this page you can find the example usage for com.google.common.base Predicate subclass-usage.

Usage

From source file com.b2international.index.query.SingleArgumentPredicate.java

/**
 * Represents a predicate with a single argument.
 * 
 * @since 4.7
 * @param <A> the argument type
 */

From source file com.cloudera.impala.analysis.ExistsPredicate.java

/**
 * Class representing a [NOT] EXISTS predicate.
 */
public class ExistsPredicate extends Predicate {
    private final static Logger LOG = LoggerFactory.getLogger(ExistsPredicate.class);
    private boolean notExists_ = false;

From source file edu.hku.sdb.parse.CompoundPredicate.java

public class CompoundPredicate extends Predicate {

    public enum CompoundOperator {
        AND("AND"), OR("OR");

        private final String description;

From source file com.cloudera.impala.analysis.BetweenPredicate.java

/**
 * Class describing between predicates. After successful analysis, we rewrite
 * the between predicate to a conjunctive/disjunctive compound predicate
 * to be handed to the backend.
 */
public class BetweenPredicate extends Predicate {

From source file com.cloudera.impala.analysis.TupleIsNullPredicate.java

/**
 * Internal expr that returns true if all of the given tuples are NULL, otherwise false.
 * Used to make exprs originating from an inline view nullable in an outer join.
 * The given tupleIds must be materialized but not necessarily nullable at the
 * appropriate PlanNode. It is important not to require nullability of the tuples
 * because some exprs may be wrapped in a TupleIsNullPredicate that contain

From source file org.apache.impala.analysis.IsNotEmptyPredicate.java

/**
 * Predicate that checks whether a collection is empty or not.
 * This predicate is not user-accessible from SQL, and may be
 * generated as a performance optimization for certain queries.
 * TODO: Pass this Predicate as a TExprNodeType.FUNCTION_CALL
 * to the BE just like the rest of our Predicates. This is not yet

From source file com.cloudera.impala.analysis.IsNotEmptyPredicate.java

/**
 * Predicate that checks whether a collection is empty or not.
 * This predicate is not user-accessible from SQL, and may be
 * generated as a performance optimization for certain queries.
 * TODO: Pass this Predicate as a TExprNodeType.FUNCTION_CALL
 * to the BE just like the rest of our Predicates. This is not yet

From source file org.apache.impala.analysis.ExistsPredicate.java

/**
 * Class representing a [NOT] EXISTS predicate.
 */
public class ExistsPredicate extends Predicate {
    private boolean notExists_ = false;

From source file com.cloudera.impala.analysis.LikePredicate.java

public class LikePredicate extends Predicate {
    enum Operator {
        LIKE("LIKE"), RLIKE("RLIKE"), REGEXP("REGEXP");

        private final String description_;

From source file com.cloudera.impala.analysis.CompoundPredicate.java

/**
 * &&, ||, ! predicates.
 *
 */
public class CompoundPredicate extends Predicate {
    public enum Operator {