Package org.eclipse.rdf4j.query.algebra
Class Like
- java.lang.Object
-
- org.eclipse.rdf4j.query.algebra.AbstractQueryModelNode
-
- org.eclipse.rdf4j.query.algebra.UnaryValueOperator
-
- org.eclipse.rdf4j.query.algebra.Like
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
caseSensitive
Deprecated, for removal: This API element is subject to removal in a future version.private java.lang.String
opPattern
Deprecated, for removal: This API element is subject to removal in a future version.Operational pattern, equal to pattern but converted to lower case when not case sensitive.private java.lang.String
pattern
Deprecated, for removal: This API element is subject to removal in a future version.-
Fields inherited from class org.eclipse.rdf4j.query.algebra.UnaryValueOperator
arg
-
-
Constructor Summary
Constructors Constructor Description Like()
Deprecated, for removal: This API element is subject to removal in a future version.Like(ValueExpr expr, java.lang.String pattern, boolean caseSensitive)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Like
clone()
Deprecated, for removal: This API element is subject to removal in a future version.Returns a (deep) clone of this query model node.boolean
equals(java.lang.Object other)
Deprecated, for removal: This API element is subject to removal in a future version.Returns true if this query model node and its children are recursively equal to o and its children.java.lang.String
getOpPattern()
Deprecated, for removal: This API element is subject to removal in a future version.java.lang.String
getPattern()
Deprecated, for removal: This API element is subject to removal in a future version.java.lang.String
getSignature()
Deprecated, for removal: This API element is subject to removal in a future version.Default implementation ofQueryModelNode.getSignature()
that prints the name of the node's class.int
hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isCaseSensitive()
Deprecated, for removal: This API element is subject to removal in a future version.void
setPattern(java.lang.String pattern, boolean caseSensitive)
Deprecated, for removal: This API element is subject to removal in a future version.<X extends java.lang.Exception>
voidvisit(QueryModelVisitor<X> visitor)
Deprecated, for removal: This API element is subject to removal in a future version.Visits this node.-
Methods inherited from class org.eclipse.rdf4j.query.algebra.UnaryValueOperator
getArg, replaceChildNode, setArg, visitChildren
-
Methods inherited from class org.eclipse.rdf4j.query.algebra.AbstractQueryModelNode
getCardinality, getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, isCardinalitySet, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, resetCardinality, setCardinality, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, shouldCacheCardinality, toHumanReadbleNumber, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.query.algebra.QueryModelNode
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString
-
-
-
-
Field Detail
-
pattern
private java.lang.String pattern
Deprecated, for removal: This API element is subject to removal in a future version.
-
caseSensitive
private boolean caseSensitive
Deprecated, for removal: This API element is subject to removal in a future version.
-
opPattern
private java.lang.String opPattern
Deprecated, for removal: This API element is subject to removal in a future version.Operational pattern, equal to pattern but converted to lower case when not case sensitive.
-
-
Constructor Detail
-
Like
public Like()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Like
public Like(ValueExpr expr, java.lang.String pattern, boolean caseSensitive)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
setPattern
public void setPattern(java.lang.String pattern, boolean caseSensitive)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getPattern
public java.lang.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 java.lang.String getOpPattern()
Deprecated, for removal: This API element is subject to removal in a future version.
-
visit
public <X extends java.lang.Exception> void visit(QueryModelVisitor<X> visitor) throws X extends java.lang.Exception
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 extends java.lang.Exception
-
getSignature
public java.lang.String getSignature()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractQueryModelNode
Default implementation ofQueryModelNode.getSignature()
that prints the name of the node's class.- Specified by:
getSignature
in interfaceQueryModelNode
- Overrides:
getSignature
in classAbstractQueryModelNode
- Returns:
- The node's signature, e.g. SLICE (offset=10, limit=10).
-
equals
public boolean equals(java.lang.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 interfaceQueryModelNode
- Overrides:
equals
in classUnaryValueOperator
-
hashCode
public int hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
hashCode
in classUnaryValueOperator
-
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 interfaceQueryModelNode
- Specified by:
clone
in interfaceValueExpr
- Overrides:
clone
in classUnaryValueOperator
- Returns:
- A deep clone of this query model node.
-
-