Interface PreparedPrismQuery
public interface PreparedPrismQuery
Prepared Prism Query with placeholders.
-
Method Summary
Modifier and TypeMethodDescriptionbooleandefault ObjectFilterBinds positional placeholders and returns filtervoidBinds next unbound value to provided valuevoidBinds 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()
-