Skip to content

Commit

Permalink
docs: update condition
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Mar 1, 2024
1 parent 5febedb commit 799f92e
Showing 1 changed file with 48 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,56 @@
import java.util.Objects;

/**
* Conditions type to run a query
* Represents conditions that can be used in a query.
* These conditions are used to filter query results based on specific criteria.
* The conditions include equality, comparison operators, set membership, pattern matching, logical conjunctions,
* logical disjunctions, negation, and range checks.
*/
public enum Condition {
EQUALS, GREATER_THAN, GREATER_EQUALS_THAN, LESSER_THAN, LESSER_EQUALS_THAN, IN, LIKE, AND, OR, NOT, BETWEEN;
/**
* Represents an equality comparison condition.
*/
EQUALS,
/**
* Represents a greater than comparison condition.
*/
GREATER_THAN,
/**
* Represents a greater than or equals to comparison condition.
*/
GREATER_EQUALS_THAN,
/**
* Represents a lesser than comparison condition.
*/
LESSER_THAN,
/**
* Represents a lesser than or equals to comparison condition.
*/
LESSER_EQUALS_THAN,
/**
* Represents a set membership comparison condition.
*/
IN,
/**
* Represents a pattern matching comparison condition.
*/
LIKE,
/**
* Represents a logical conjunction condition.
*/
AND,
/**
* Represents a logical disjunction condition.
*/
OR,
/**
* Represents a negation condition.
*/
NOT,
/**
* Represents a range check condition.
*/
BETWEEN;

/**
* Return tne field as name to both document and column.
Expand Down

0 comments on commit 799f92e

Please sign in to comment.