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

dev.fuxing.airtable.formula.LogicalOperator Maven / Gradle / Ivy

The newest version!
package dev.fuxing.airtable.formula;

/**
 * @see Logical operators and functions
 * 

* Created by: Fuxing * Date: 2019-04-21 * Time: 02:04 */ public interface LogicalOperator extends AirtableOperator { /** * Greater than */ LogicalOperator GT = new LogicalOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator(">", left, right); } }; /** * Less than */ LogicalOperator LT = new LogicalOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("<", left, right); } }; /** * Greater than or equal to */ LogicalOperator GTE = new LogicalOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator(">=", left, right); } }; /** * Less than or equal to */ LogicalOperator LTE = new LogicalOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("<=", left, right); } }; /** * Equal to */ LogicalOperator EQ = new LogicalOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("=", left, right); } }; /** * Not equal to */ LogicalOperator NEQ = new LogicalOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("!=", left, right); } }; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy