Class ExprNodeUtilityMake

java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeUtilityMake

public class ExprNodeUtilityMake extends Object
  • Constructor Details

    • ExprNodeUtilityMake

      public ExprNodeUtilityMake()
  • Method Details

    • getComparatorHashableMultiKeys

      public static Comparator<Object> getComparatorHashableMultiKeys(EPType[] sortCriteriaTypes, boolean isSortUsingCollator, boolean[] isDescendingValues)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      sortCriteriaTypes - types
      isSortUsingCollator - flag
      isDescendingValues - flags
      Returns:
      comparator
    • getComparatorObjectArrayNonHashable

      public static Comparator<Object> getComparatorObjectArrayNonHashable(EPType[] sortCriteriaTypes, boolean isSortUsingCollator, boolean[] isDescendingValues)
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      sortCriteriaTypes - types
      isSortUsingCollator - flag
      isDescendingValues - flags
      Returns:
      comparator
    • makeUnderlyingForge

      public static ExprForge makeUnderlyingForge(int streamNum, EPTypeClass resultType, TableMetaData tableMetadata)
    • addExpression

      public static ExprNode[] addExpression(ExprNode[] expressions, ExprNode expression)
    • makeUnsupportedCompileTime

      public static UnsupportedOperationException makeUnsupportedCompileTime()
    • makeExprIdentNode

      public static ExprIdentNode makeExprIdentNode(EventType[] typesPerStream, int streamId, String property)
    • connectExpressionsByLogicalAndWhenNeeded

      public static ExprNode connectExpressionsByLogicalAndWhenNeeded(Collection<ExprNode> nodes)
    • connectExpressionsByLogicalAndWhenNeeded

      public static ExprNode connectExpressionsByLogicalAndWhenNeeded(ExprNode left, ExprNode right)
    • connectExpressionsByLogicalOrWhenNeeded

      public static ExprNode connectExpressionsByLogicalOrWhenNeeded(Collection<ExprNode> nodes)
    • connectExpressionsByLogicalAnd

      public static ExprNode connectExpressionsByLogicalAnd(List<ExprNode> nodes, ExprNode optionalAdditionalFilter)
    • connectExpressionsByLogicalAnd

      public static ExprAndNode connectExpressionsByLogicalAnd(Collection<ExprNode> nodes)
    • connectExpressionsByLogicalOr

      public static ExprOrNode connectExpressionsByLogicalOr(Collection<ExprNode> nodes)
    • setChildIdentNodesOptionalEvent

      public static void setChildIdentNodesOptionalEvent(ExprNode exprNode)
    • getSubqueryInfoText

      public static String getSubqueryInfoText(ExprSubselectNode subselect)