All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aerospike.jdbc.predicate.OperatorVarArgs Maven / Gradle / Ivy

The newest version!
package com.aerospike.jdbc.predicate;

import com.aerospike.client.exp.Exp;

public enum OperatorVarArgs implements Operator {

    IN(Exp::or);

    private final VarArgsFunction func;

    OperatorVarArgs(VarArgsFunction expFunc) {
        this.func = expFunc;
    }

    @Override
    public Exp exp(Exp... expressions) {
        return func.apply(expressions);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy