Class PathExpression
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.expression.PathExpression
- All Implemented Interfaces:
Expression
- Since:
- 1.0.0
- Author:
- Christian Beikov, Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Constructor Summary
ConstructorsConstructorDescriptionPathExpression(PathElementExpression pathElementExpression) PathExpression(List<PathElementExpression> pathProperties) PathExpression(List<PathElementExpression> pathProperties, boolean isCollectionKeyPath) PathExpression(List<PathElementExpression> pathProperties, PathReference pathReference, boolean usedInCollectionFunction, boolean collectionQualifiedPath) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(Expression.ResultVisitor<T> visitor) voidaccept(Expression.Visitor visitor) The expression tree is traversed in pre-order.copy(ExpressionCopyContext copyContext) booleangetField()getPath()inthashCode()booleanbooleanvoidsetCollectionQualifiedPath(boolean collectionQualifiedPath) voidsetExpressions(List<PathElementExpression> expressions) voidsetPathReference(PathReference pathReference) voidsetUsedInCollectionFunction(boolean collectionValued) Methods inherited from class com.blazebit.persistence.parser.expression.AbstractExpression
toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blazebit.persistence.parser.expression.Expression
toString
-
Constructor Details
-
PathExpression
public PathExpression() -
PathExpression
-
PathExpression
-
PathExpression
-
PathExpression
public PathExpression(List<PathElementExpression> pathProperties, PathReference pathReference, boolean usedInCollectionFunction, boolean collectionQualifiedPath)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceExpression- Specified by:
copyin classAbstractExpression- Returns:
-
accept
Description copied from interface:ExpressionThe expression tree is traversed in pre-order.- Specified by:
acceptin interfaceExpression
-
accept
- Specified by:
acceptin interfaceExpression
-
getExpressions
-
setExpressions
-
getPathReference
-
setPathReference
-
getBaseNode
-
getField
-
isUsedInCollectionFunction
public boolean isUsedInCollectionFunction() -
setUsedInCollectionFunction
public void setUsedInCollectionFunction(boolean collectionValued) -
getPath
-
isCollectionQualifiedPath
public boolean isCollectionQualifiedPath() -
setCollectionQualifiedPath
public void setCollectionQualifiedPath(boolean collectionQualifiedPath) -
withoutFirst
-
hashCode
public int hashCode() -
equals
-