Uses of Interface
org.linuxforhealth.fhir.database.utils.query.node.ExpNode
-
-
Uses of ExpNode in org.linuxforhealth.fhir.database.utils.query
Methods in org.linuxforhealth.fhir.database.utils.query that return ExpNode Modifier and Type Method Description ExpNode
BaseWhereAdapter. getExpression()
Get the expression that has been builtMethods in org.linuxforhealth.fhir.database.utils.query with parameters of type ExpNode Modifier and Type Method Description T
BaseWhereAdapter. acos(ExpNode arg)
Add ACOS(arg) to the expressionvoid
FromClause. addInnerJoin(java.lang.String tableName, Alias alias, ExpNode joinOnPredicate)
Add an inner join clause to the FROM items listvoid
FromClause. addInnerJoin(Select sub, Alias alias, ExpNode joinOnPredicate)
Add an inner join clause to the FROM items listvoid
Select. addInnerJoin(java.lang.String tableName, Alias alias, ExpNode joinOnPredicate)
Add an inner join to the from clause for this select statement.void
Select. addInnerJoin(Select sub, Alias alias, ExpNode joinOnPredicate)
Add an inner join to the from clause for this select statement where the joining row source is a sub-queryvoid
FromClause. addLeftOuterJoin(java.lang.String tableName, Alias alias, ExpNode joinOnPredicate)
Add a left outer join clause to the FROM items listvoid
Select. addLeftOuterJoin(java.lang.String tableName, Alias alias, ExpNode joinOnPredicate)
Add a left outer join to the from clause for this select statement.T
BaseWhereAdapter. and(ExpNode predicate)
Add AND {predicate} to the expressionT
BaseWhereAdapter. cos(ExpNode arg)
Add COS(arg) to the expressionT
BaseWhereAdapter. filter(ExpNode filter)
Add the expression directly without any other operatorT
BaseWhereAdapter. not(ExpNode expr)
Add NOT to the expressionT
BaseWhereAdapter. or(ExpNode predicate)
Add OR {predicate} to the expressionT
BaseWhereAdapter. radians(ExpNode arg)
Add RADIANS(arg) to the expressionT
BaseWhereAdapter. sin(ExpNode arg)
Add SIN(arg) to the expressionWhereAdapter
FromAdapter. where(ExpNode predicate)
Builds a WHERE clause starting with the given predicate nodeConstructors in org.linuxforhealth.fhir.database.utils.query with parameters of type ExpNode Constructor Description FromJoin(FromJoin.JoinType joinType, RowSource rowSource, Alias alias, ExpNode joinOnPredicate)
Protected constructorFromJoin(FromJoin.JoinType joinType, RowSource rowSource, ExpNode joinOnPredicate)
Protected constructor for a join which doesn't include an aliasWhereAdapter(Select select, WhereClause whereClause, ExpNode predicate)
-
Uses of ExpNode in org.linuxforhealth.fhir.database.utils.query.expression
Methods in org.linuxforhealth.fhir.database.utils.query.expression that return ExpNode Modifier and Type Method Description static ExpNode
ExpressionSupport. acos(ExpNode arg)
Factory function to create a ACosExpNode with the given valuestatic ExpNode
ExpressionSupport. cos(ExpNode arg)
Factory function to create a CosExpNode with the given valuestatic ExpNode
ExpressionSupport. isDeleted(java.lang.String alias)
Factory function to create the expression {alias}.IS_DELETED = 'N'static ExpNode
ExpressionSupport. sin(ExpNode arg)
Factory function to create a SinExpNode with the given valueMethods in org.linuxforhealth.fhir.database.utils.query.expression with parameters of type ExpNode Modifier and Type Method Description static ExpNode
ExpressionSupport. acos(ExpNode arg)
Factory function to create a ACosExpNode with the given valuestatic ExpNode
ExpressionSupport. cos(ExpNode arg)
Factory function to create a CosExpNode with the given valueT
StatementRenderer. render(ExpNode joinOnPredicate)
java.lang.String
StringStatementRenderer. render(ExpNode expression)
static ExpNode
ExpressionSupport. sin(ExpNode arg)
Factory function to create a SinExpNode with the given valuestatic java.lang.String
StringExpNodeVisitor. stringify(ExpNode exp)
Helper to render an expression as a string using this class as a visitor -
Uses of ExpNode in org.linuxforhealth.fhir.database.utils.query.node
Classes in org.linuxforhealth.fhir.database.utils.query.node that implement ExpNode Modifier and Type Class Description class
ACosExpNode
The ACOS SQL functionclass
AddExpNode
Addition nodeclass
AdditiveExpNode
Base for all additive type expressionsclass
AndExpNode
Addition nodeclass
BetweenExpNode
Addition nodeclass
BigDecimalBindMarkerNode
A bind marker representing a BigDecimal valueclass
BinaryExpNode
A binary expression for addition, multiplication, comparison etcclass
BindMarkerNode
Represents a bind variable marker (?) in a SQL expressionclass
CoalesceExpNode
The COALESCE SQL functionclass
ColumnExpNode
Represents a reference to a table column or alias in an expressionclass
ComparativeExpNode
Base for all comparative type expressions (<, <=, >, >=)class
CosExpNode
The COS SQL functionclass
DivExpNode
Division expression nodeclass
DoubleBindMarkerNode
A bind marker representing a Double valueclass
DoubleExpNode
A literal Doubleclass
EqExpNode
Equals nodeclass
EqualityExpNode
Base for all equality type expressionsclass
EscapeExpNode
Represents an ESCAPE '+' expression in a SQL predicate expression for use with LIKEclass
ExistsExpNode
Represents an EXISTS (class
GreaterEqExpNode
Greater than or equal to expression nodeclass
GreaterExpNode
Greater than expression nodeclass
InListExpNode
Represents an IN list where list is a list of expression nodes (supports different node types and bind markers).class
InstantBindMarkerNode
A bind marker representing a Instant valueclass
IntegerBindMarkerNode
A bind marker representing an Integer valueclass
IsNotNullExpNode
Represents IS NOT NULL in a SQL expressionclass
IsNullExpNode
Represents IS NULL in a SQL expressionclass
LeftParenExpNode
Represents a left paren when parsing an expressionclass
LessEqExpNode
Less than or equal to expression nodeclass
LessExpNode
Less than expression nodeclass
LikeExpNode
Represents a {col} LIKE {string-exp} | {bind-var} in a SQL predicate expressionclass
LiteralExpNode
Base of literal values in the expression treeclass
LongBindMarkerNode
A bind marker representing a nullable Long valueclass
LongExpNode
A literal Long.class
MultExpNode
Multiplication expression nodeclass
MultiplicativeExpNode
Base for all multiplicative type expressionsclass
NeqExpNode
Not Equals nodeclass
NotExistsExpNode
Represents a NOT EXISTS (class
NotExpNode
Represents a NOTin a SQL predicate expression class
OperatorNode
An expression node which is an operator (as opposed to an operand).class
OrExpNode
OR expression nodeclass
ParenExpNode
An expression contained within parensclass
RadiansExpNode
The RADIANS SQL functionclass
RightParenExpNode
Represents a right paren when parsing an expressionclass
SelectExpNode
Wraps a Select statement in an expression treeclass
SinExpNode
The SIN SQL functionclass
StringBindMarkerNode
A bind marker representing a String valueclass
StringExpNode
A literal stringclass
SubExpNode
Subtraction expression nodeclass
UnaryExpNode
A unary expressionMethods in org.linuxforhealth.fhir.database.utils.query.node that return ExpNode Modifier and Type Method Description ExpNode
UnaryExpNode. getExpr()
ExpNode
BinaryExpNode. getLeft()
ExpNode
BinaryExpNode. getRight()
ExpNode
PredicateParser. parse()
Applies the shunting-yard algorithm, collapsing the operatorStack as much as possible.Methods in org.linuxforhealth.fhir.database.utils.query.node with parameters of type ExpNode Modifier and Type Method Description void
PredicateParser. addToken(ExpNode token)
Allow expression nodes to be added directly to the list of tokens.void
UnaryExpNode. setExpr(ExpNode expr)
void
BinaryExpNode. setLeft(ExpNode left)
void
BinaryExpNode. setRight(ExpNode right)
Method parameters in org.linuxforhealth.fhir.database.utils.query.node with type arguments of type ExpNode Modifier and Type Method Description void
ACosExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
BinaryExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
BindMarkerNode. popOperands(java.util.Stack<ExpNode> stack)
void
CoalesceExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
ColumnExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
CosExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
ExpNode. popOperands(java.util.Stack<ExpNode> stack)
Read the operands from the stackvoid
InListExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
LeftParenExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
LiteralExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
RadiansExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
RightParenExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
SelectExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
SinExpNode. popOperands(java.util.Stack<ExpNode> stack)
void
UnaryExpNode. popOperands(java.util.Stack<ExpNode> stack)
Constructors in org.linuxforhealth.fhir.database.utils.query.node with parameters of type ExpNode Constructor Description ACosExpNode(ExpNode arg)
Public constructorCosExpNode(ExpNode arg)
Public constructorExistsExpNode(ExpNode sub)
Public constructorNotExistsExpNode(ExpNode sub)
Public constructorParenExpNode(ExpNode expr)
RadiansExpNode(ExpNode arg)
Public constructorSinExpNode(ExpNode arg)
Public constructorUnaryExpNode(ExpNode expr)
Protected constructor for immediate initialization by a subclassConstructor parameters in org.linuxforhealth.fhir.database.utils.query.node with type arguments of type ExpNode Constructor Description InListExpNode(java.util.Collection<ExpNode> inList)
Public constructor -
Uses of ExpNode in org.linuxforhealth.fhir.persistence.jdbc.domain
Methods in org.linuxforhealth.fhir.persistence.jdbc.domain with parameters of type ExpNode Modifier and Type Method Description protected java.lang.String
SearchQueryRenderer. getRefParamTable(ExpNode filter, java.lang.String resourceType, java.lang.String paramAlias)
Compute the reference parameter table name we want to use to join with.protected java.lang.String
SearchQueryRenderer. getTokenParamTable(ExpNode filter, java.lang.String resourceType, java.lang.String paramAlias, boolean filterIsOptimized)
Compute the token parameter table name we want to use to join with.protected boolean
SearchQueryRenderer. isOptimizedTokenParamFilter(ExpNode filter, java.lang.String paramAlias)
Inspect the filter expression to see if it mentions the TOKEN_VALUE or CODE_SYSTEM_ID columns.
-