|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Term | |
|---|---|
| de.mguennewig.pobjects | The package de.mguennewig.pobjects provides an abstraction
layer on top of a set of database tables by which table rows can be
accessed transparently as Java objects. |
| de.mguennewig.pobjsearch | This package contains the PObjSearch framework that is based on the PObjForm library. |
| Uses of Term in de.mguennewig.pobjects |
|---|
| Subinterfaces of Term in de.mguennewig.pobjects | |
|---|---|
interface |
Condition
Interface for boolean terms that consist out of further terms. |
| Classes in de.mguennewig.pobjects that implement Term | |
|---|---|
class |
Cast
A type cast of an SQL expression. |
class |
FctCall
A function call within an SQL expression. |
class |
Junction
A conjunction or disjunction of Terms as part of a SQL statement. |
class |
Literal
A literal value, for example a string, a number or an object. |
class |
LiteralSet
A set of literal values (a, b, c, ...) |
class |
Member
Reference to an column of a table. |
class |
Predicate
A boolean expression to be used in the WHERE part of a
SQL statement. |
| Methods in de.mguennewig.pobjects that return Term | |
|---|---|
Term |
FctCall.getArgument(int i)
|
Term |
Cast.getExpression()
Returns the expression whose type has to be casted. |
Term |
Predicate.getLeftTerm()
Returns the term on the left side/before of the operand or null if it does not exist. |
Term |
Predicate.getRightTerm()
Returns the term on the right side/after of the operand or null if it does not exist. |
Term |
Junction.getTerm(int i)
|
static Term |
Terms.reduceNots(Term t)
Traverse the predicate, looking for NOTs to take care of. |
| Methods in de.mguennewig.pobjects that return types with arguments of type Term | |
|---|---|
java.util.Iterator<Term> |
Predicate.iterator()
|
java.util.Iterator<Term> |
Junction.iterator()
|
java.util.Iterator<Term> |
FctCall.iterator()
|
| Methods in de.mguennewig.pobjects with parameters of type Term | |
|---|---|
static FctCall |
FctCall.abs(Term arg)
Absolute value. |
void |
SQLEvalContext.addWhereConj(Term term)
|
abstract void |
EvalContext.addWhereConj(Term term)
|
static Junction |
Junction.and(Term... terms)
|
static Predicate |
Predicate.and(Term left,
Term right)
An AND expression of 2 Term's. |
static Predicate |
Predicate.between(Term left,
Term lowerValue,
Term upperValue)
|
static Cast |
Cast.castToString(Term expr)
|
static FctCall |
FctCall.coalesce(Term... terms)
The COALESCE function returns the first of its arguments that is not null. |
static Predicate |
Predicate.equals(Term left,
Term right)
Creates an `EQUALS' test for two terms. |
static java.lang.Object |
Terms.evalTerm(Term term,
Record rec)
Evaluates a Term. |
static java.util.Set<java.lang.Integer> |
Terms.getMemberBaseColumns(Term t)
Returns the set of affected base columns. |
static Predicate |
Predicate.greater(Term left,
Term right)
|
static Predicate |
Predicate.greaterEqual(Term left,
Term right)
|
static Predicate |
Predicate.in(Term left,
LiteralSet set)
|
static Predicate |
Predicate.isNotNull(Term term)
Creates an `IS NOT NULL' test. |
static Predicate |
Predicate.isNull(Term term)
Creates an `IS NULL' tests. |
static FctCall |
FctCall.length(Term arg)
Length of a string. |
static Predicate |
Predicate.less(Term left,
Term right)
|
static Predicate |
Predicate.lessEqual(Term left,
Term right)
|
static Predicate |
Predicate.like(Term left,
java.lang.String pattern)
|
static Predicate |
Predicate.like(Term left,
Term right)
|
static FctCall |
FctCall.lower(Term arg)
Convert string to lower case. |
static Predicate |
Predicate.not(Term term)
Negates the given term. |
static Predicate |
Predicate.notEquals(Term left,
Term right)
Creates a `NOT EQUALS' test for two terms. |
static FctCall |
FctCall.nullif(Term term1,
Term term2)
The NULLIF function returns a null value if the terms
term1 and term2 evaluate to equal values, otherwise it
returns the value of term1. |
static Junction |
Junction.or(Term... terms)
|
static Predicate |
Predicate.or(Term left,
Term right)
An OR expression of 2 Term's. |
static Term |
Terms.reduceNots(Term t)
Traverse the predicate, looking for NOTs to take care of. |
java.lang.String |
SQLEvalContext.restoreState(EvalState s,
Term conj)
|
abstract java.lang.String |
EvalContext.restoreState(EvalState s,
Term conj)
|
static FctCall |
FctCall.substring(Term arg,
int start,
int end)
Compute a substring. |
static FctCall |
FctCall.upper(Term arg)
Convert string to upper case. |
| Constructors in de.mguennewig.pobjects with parameters of type Term | |
|---|---|
Cast(Term expr,
Type type)
Creates a new Cast. |
|
FctCall(java.lang.String fctName,
Term... args)
Create a function call. |
|
Junction(int op,
Term... terms)
Creates a new Junction. |
|
Predicate(Term left,
int op,
Term right)
Creates a new Predicate. |
|
| Uses of Term in de.mguennewig.pobjsearch |
|---|
| Methods in de.mguennewig.pobjsearch with parameters of type Term | |
|---|---|
static Predicate |
SearchColumn.matcher(PClassSearchForm.Condition condition,
Type type,
Term filter)
Returns a matcher Predicate which can be used for
SearchFilter#addFilter(SearchForm.Condition,Query). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||