|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.daisy.query.model.AbstractPredicateExpr
org.outerj.daisy.query.model.IsNotNull
public class IsNotNull
Constructor Summary | |
---|---|
IsNotNull(Identifier identifier)
|
Method Summary | |
---|---|
Tristate |
appliesTo(org.outerj.daisy.repository.Document document)
Checks if this conditionl expression could evaluate to true for a document, without really knowing everything about the document. |
int |
bindSql(java.sql.PreparedStatement stmt,
int bindPos,
org.outerj.daisy.repository.query.EvaluationContext evaluationContext)
|
boolean |
evaluate(org.outerj.daisy.repository.Document document,
org.outerj.daisy.repository.Version version,
org.outerj.daisy.repository.query.EvaluationContext evaluationContext)
Evaluates the expression for the given document and version. |
boolean |
evaluate(java.lang.Object value)
|
void |
generateSql(java.lang.StringBuffer sql,
SqlGenerationContext context)
|
AclConditionViolation |
isAclAllowed()
Checks if this PredicateExpr only uses stuff allowed in ACL object conditions. |
void |
prepare(QueryContext context)
Needs to be called before usage of other methods. |
Methods inherited from class org.outerj.daisy.query.model.AbstractPredicateExpr |
---|
getColumn, getLine, getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IsNotNull(Identifier identifier)
Method Detail |
---|
public void prepare(QueryContext context) throws org.outerj.daisy.repository.query.QueryException
PredicateExpr
org.outerj.daisy.repository.query.QueryException
public boolean evaluate(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version, org.outerj.daisy.repository.query.EvaluationContext evaluationContext) throws org.outerj.daisy.repository.query.QueryException
PredicateExpr
org.outerj.daisy.repository.query.QueryException
public boolean evaluate(java.lang.Object value)
public void generateSql(java.lang.StringBuffer sql, SqlGenerationContext context) throws org.outerj.daisy.repository.query.QueryException
org.outerj.daisy.repository.query.QueryException
public int bindSql(java.sql.PreparedStatement stmt, int bindPos, org.outerj.daisy.repository.query.EvaluationContext evaluationContext) throws java.sql.SQLException, org.outerj.daisy.repository.query.QueryException
bindPos
- the binding position on which to bind the next value
java.sql.SQLException
org.outerj.daisy.repository.query.QueryException
public AclConditionViolation isAclAllowed()
PredicateExpr
public Tristate appliesTo(org.outerj.daisy.repository.Document document) throws org.outerj.daisy.repository.query.QueryException
PredicateExpr
The result can be:
org.outerj.daisy.repository.query.QueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |