Interface PreparedPrismQuery
public interface PreparedPrismQuery
Prepared Prism Query with placeholders.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
default ObjectFilter
Binds positional placeholders and returns filtervoid
Binds next unbound value to provided valuevoid
Binds named placeholder to provided valuetoFilter()
Returns complete filter with values bound
-
Method Details
-
bindValue
Binds next unbound value to provided value- Parameters:
realValue
- Real Value to be bound- Throws:
SchemaException
- If provided value is invalid according to schema definition (type of valueIllegalStateException
- If there is no positional value to be bound
-
set
Binds named placeholder to provided value- Parameters:
name
- Name of named placeholderrealValue
- Real Value to be bound- Throws:
SchemaException
- If provided value is invalid according to schema definition (type of valueIllegalStateException
- If there is no positional value to be bound
-
toFilter
Returns complete filter with values bound- Returns:
- Object Filter parser from Axiom
- Throws:
SchemaException
- If resulting filter with bound values is invalidIllegalStateException
- If not all placeholders were bound prior to invocation
-
bind
Binds positional placeholders and returns filter- Parameters:
args
-- Returns:
- Throws:
SchemaException
-
allPlaceholdersBound
boolean allPlaceholdersBound()
-