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 Link icon

    • Like Link icon

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

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

    • setPattern Link icon

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

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

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

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

      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 Link icon

      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 Link icon

      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 Link icon

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

      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.