Class Like

All Implemented Interfaces:
Serializable, Cloneable, GraphPatternGroupable, QueryModelNode, ValueExpr, VariableScopeChange

@Deprecated(forRemoval=true) public class Like extends UnaryValueOperator
Deprecated, for removal: This API element is subject to removal in a future version.
Compares the string representation of a value expression to a pattern.
See Also:
  • Constructor Details

    • Like

      public Like()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Like

      public Like(ValueExpr expr, String pattern, boolean caseSensitive)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setPattern

      public void setPattern(String pattern, boolean caseSensitive)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPattern

      public String getPattern()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isCaseSensitive

      public boolean isCaseSensitive()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOpPattern

      public String getOpPattern()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • visit

      public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: QueryModelNode
      Visits this node. The node reports itself to the visitor with the proper runtime type.
      Throws:
      X
    • getSignature

      public String getSignature()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractQueryModelNode
      Default implementation of QueryModelNode.getSignature() that prints the name of the node's class.
      Specified by:
      getSignature in interface QueryModelNode
      Overrides:
      getSignature in class AbstractQueryModelNode
      Returns:
      The node's signature, e.g. SLICE (offset=10, limit=10).
    • equals

      public boolean equals(Object other)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: QueryModelNode
      Returns true if this query model node and its children are recursively equal to o and its children.
      Specified by:
      equals in interface QueryModelNode
      Overrides:
      equals in class UnaryValueOperator
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class UnaryValueOperator
    • clone

      public Like clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: QueryModelNode
      Returns a (deep) clone of this query model node. This method recursively clones the entire node tree, starting from this nodes.
      Specified by:
      clone in interface QueryModelNode
      Specified by:
      clone in interface ValueExpr
      Overrides:
      clone in class UnaryValueOperator
      Returns:
      A deep clone of this query model node.