Class MatchCondition

java.lang.Object
org.nervousync.database.query.condition.MatchCondition

public final class MatchCondition extends Object
The type Match condition.
Version:
$Revision : 1.0 $ $Date: 11/1/2020 17:37 $
Author:
Steven Wee wmkm0113@Hotmail.com
  • Method Details

    • dynamic

      public static MatchCondition dynamic(long planCode, String identifyKey)
      Dynamic match condition.
      Parameters:
      planCode - the plan code
      identifyKey - the identify key
      Returns:
      the match condition
    • condition

      public static MatchCondition condition(Object... matchValues)
      Condition match condition.
      Parameters:
      matchValues - the match values
      Returns:
      the match condition
    • group

      public static MatchCondition group(QueryCondition... queryConditions)
      Group match condition.
      Parameters:
      queryConditions - the query conditions
      Returns:
      the match condition
    • getConditionType

      public QueryCondition.ConditionType getConditionType()
      Gets condition type.
      Returns:
      the condition type
    • getPlanCode

      public long getPlanCode()
      Gets plan code.
      Returns:
      the plan code
    • getIdentifyKey

      public String getIdentifyKey()
      Gets identify key.
      Returns:
      the identify key
    • getMatchValues

      public Object[] getMatchValues()
      Get match values object [ ].
      Returns:
      the object [ ]
    • cacheKey

      public String cacheKey()