Class FiqlSearchConditionBuilder.Builder
java.lang.Object
org.apache.cxf.jaxrs.ext.search.client.FiqlSearchConditionBuilder.Builder
- All Implemented Interfaces:
CompleteCondition,PartialCondition,Property
- Enclosing class:
- FiqlSearchConditionBuilder
protected static class FiqlSearchConditionBuilder.Builder
extends Object
implements Property, CompleteCondition, PartialCondition
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected DateFormatprotected FiqlSearchConditionBuilder.Builderprotected Stringprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIs date property after (greater than) given date?Is date property after (greater than) date distant from now by given period of time?and()Conjunct current expression with anothershortcut for and().is()and(List<CompleteCondition> conditions) Conjunct multiple expressionsand(CompleteCondition c1, CompleteCondition c2, CompleteCondition... cn) Conjunct multiple expressionsIs date property before (less than) given date?Is date property before (less than) date distant from now by given period of time?protected StringcomparesTo(ConditionType type, Double value) GenericcomparesTo(ConditionType type, Integer value) GenericcomparesTo(ConditionType type, Long value) GenericcomparesTo(ConditionType type, String value) GenericcomparesTo(ConditionType type, Date value) GenericcomparesTo(ConditionType type, Duration value) Genericprotected CompleteConditionprotected CompleteConditionconditionsList(String op, List<CompleteCondition> conditions) Is numeric property equal to given double number?Is numeric property equal to given long number?Is numeric property equal to given long number?Is textual property equal to given literal or matching given pattern?Is date property same as given date?Is date property same as date distant from now by given period of time?protected DateFormatgreaterOrEqualTo(Double number) Is numeric property greater or equal to given number?greaterOrEqualTo(Integer number) Is numeric property greater or equal to given number?greaterOrEqualTo(Long number) Is numeric property greater or equal to given number?greaterThan(Double number) Is numeric property greater than given number?greaterThan(Integer number) Is numeric property greater than given number?greaterThan(Long number) Is numeric property greater than given number?Get property of inspected entity typeprotected booleanlessOrEqualTo(Double number) Is numeric property less or equal to given number?lessOrEqualTo(Integer number) Is numeric property less or equal to given number?lessOrEqualTo(Long number) Is numeric property less or equal to given number?Is numeric property less than given number?Is numeric property less than given number?Is numeric property less than given number?lexicalAfter(String literal) Is textual property lexically after (greater than) given literal?lexicalBefore(String literal) Is textual property lexically before (less than) given literal?lexicalNotAfter(String literal) Is textual property lexically not after (less or equal to) given literal?lexicalNotBefore(String literal) Is textual property lexically not before (greater or equal to) given literal?Is date property not after (less or equal to) given date?Is date property not after (less or equal to) date distant from now by given period of time?Is date property not before (greater or equal to) given date?Is date property not before (greater or equal to) date distant from now by given period of time?notEqualTo(Double number) Is numeric property different than given double number?notEqualTo(Integer number) Is numeric property different than given int number?notEqualTo(Long number) Is numeric property different than given long number?notEqualTo(String literalOrPattern) Is textual property different than given literal or not matching given pattern?notEqualTo(Date date) Is date property different than given date?notEqualTo(Duration distanceFromNow) Is date property different than date distant from now by given period of time?or()Disjunct current expression with anothershortcut for or().is()or(List<CompleteCondition> conditions) Disjunct multiple expressionsor(CompleteCondition c1, CompleteCondition c2, CompleteCondition... cn) Disjunct multiple expressionsquery()Finalize condition construction and build search condition query.protected Stringprotected Stringwrap()Wraps the current expression in ()
-
Field Details
-
result
-
parent
-
df
-
timeZoneSupported
protected boolean timeZoneSupported -
currentCompositeOp
-
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
query
Description copied from interface:CompleteConditionFinalize condition construction and build search condition query.- Specified by:
queryin interfaceCompleteCondition
-
getDateFormat
-
isTimeZoneSupported
protected boolean isTimeZoneSupported() -
buildPartial
-
after
Description copied from interface:PropertyIs date property after (greater than) given date? -
before
Description copied from interface:PropertyIs date property before (less than) given date? -
comparesTo
Description copied from interface:PropertyGeneric- Specified by:
comparesToin interfaceProperty
-
comparesTo
Description copied from interface:PropertyGeneric- Specified by:
comparesToin interfaceProperty
-
comparesTo
Description copied from interface:PropertyGeneric- Specified by:
comparesToin interfaceProperty
-
comparesTo
Description copied from interface:PropertyGeneric- Specified by:
comparesToin interfaceProperty
-
comparesTo
Description copied from interface:PropertyGeneric- Specified by:
comparesToin interfaceProperty
-
comparesTo
Description copied from interface:PropertyGeneric- Specified by:
comparesToin interfaceProperty
-
equalTo
Description copied from interface:PropertyIs textual property equal to given literal or matching given pattern? -
equalTo
Description copied from interface:PropertyIs numeric property equal to given double number? -
equalTo
Description copied from interface:PropertyIs numeric property equal to given long number? -
equalTo
Description copied from interface:PropertyIs numeric property equal to given long number? -
equalTo
Description copied from interface:PropertyIs date property same as given date? -
equalTo
Description copied from interface:PropertyIs date property same as date distant from now by given period of time? -
greaterOrEqualTo
Description copied from interface:PropertyIs numeric property greater or equal to given number?- Specified by:
greaterOrEqualToin interfaceProperty
-
greaterOrEqualTo
Description copied from interface:PropertyIs numeric property greater or equal to given number?- Specified by:
greaterOrEqualToin interfaceProperty
-
greaterOrEqualTo
Description copied from interface:PropertyIs numeric property greater or equal to given number?- Specified by:
greaterOrEqualToin interfaceProperty
-
greaterThan
Description copied from interface:PropertyIs numeric property greater than given number?- Specified by:
greaterThanin interfaceProperty
-
greaterThan
Description copied from interface:PropertyIs numeric property greater than given number?- Specified by:
greaterThanin interfaceProperty
-
greaterThan
Description copied from interface:PropertyIs numeric property greater than given number?- Specified by:
greaterThanin interfaceProperty
-
lessOrEqualTo
Description copied from interface:PropertyIs numeric property less or equal to given number?- Specified by:
lessOrEqualToin interfaceProperty
-
lessOrEqualTo
Description copied from interface:PropertyIs numeric property less or equal to given number?- Specified by:
lessOrEqualToin interfaceProperty
-
lessOrEqualTo
Description copied from interface:PropertyIs numeric property less or equal to given number?- Specified by:
lessOrEqualToin interfaceProperty
-
lessThan
Description copied from interface:PropertyIs numeric property less than given number? -
lessThan
Description copied from interface:PropertyIs numeric property less than given number? -
lessThan
Description copied from interface:PropertyIs numeric property less than given number? -
lexicalAfter
Description copied from interface:PropertyIs textual property lexically after (greater than) given literal?- Specified by:
lexicalAfterin interfaceProperty
-
lexicalBefore
Description copied from interface:PropertyIs textual property lexically before (less than) given literal?- Specified by:
lexicalBeforein interfaceProperty
-
lexicalNotAfter
Description copied from interface:PropertyIs textual property lexically not after (less or equal to) given literal?- Specified by:
lexicalNotAfterin interfaceProperty
-
lexicalNotBefore
Description copied from interface:PropertyIs textual property lexically not before (greater or equal to) given literal?- Specified by:
lexicalNotBeforein interfaceProperty
-
notAfter
Description copied from interface:PropertyIs date property not after (less or equal to) given date? -
notBefore
Description copied from interface:PropertyIs date property not before (greater or equal to) given date? -
notEqualTo
Description copied from interface:PropertyIs textual property different than given literal or not matching given pattern?- Specified by:
notEqualToin interfaceProperty
-
notEqualTo
Description copied from interface:PropertyIs numeric property different than given double number?- Specified by:
notEqualToin interfaceProperty
-
notEqualTo
Description copied from interface:PropertyIs numeric property different than given long number?- Specified by:
notEqualToin interfaceProperty
-
notEqualTo
Description copied from interface:PropertyIs numeric property different than given int number?- Specified by:
notEqualToin interfaceProperty
-
notEqualTo
Description copied from interface:PropertyIs date property different than given date?- Specified by:
notEqualToin interfaceProperty
-
after
Description copied from interface:PropertyIs date property after (greater than) date distant from now by given period of time? -
before
Description copied from interface:PropertyIs date property before (less than) date distant from now by given period of time? -
notAfter
Description copied from interface:PropertyIs date property not after (less or equal to) date distant from now by given period of time? -
notBefore
Description copied from interface:PropertyIs date property not before (greater or equal to) date distant from now by given period of time? -
notEqualTo
Description copied from interface:PropertyIs date property different than date distant from now by given period of time?- Specified by:
notEqualToin interfaceProperty
-
condition
-
and
Description copied from interface:CompleteConditionConjunct current expression with another- Specified by:
andin interfaceCompleteCondition
-
and
Description copied from interface:CompleteConditionshortcut for and().is()- Specified by:
andin interfaceCompleteCondition
-
or
Description copied from interface:CompleteConditionDisjunct current expression with another- Specified by:
orin interfaceCompleteCondition
-
or
Description copied from interface:CompleteConditionshortcut for or().is()- Specified by:
orin interfaceCompleteCondition
-
wrap
Description copied from interface:CompleteConditionWraps the current expression in ()- Specified by:
wrapin interfaceCompleteCondition
-
and
Description copied from interface:PartialConditionConjunct multiple expressions- Specified by:
andin interfacePartialCondition
-
or
Description copied from interface:PartialConditionDisjunct multiple expressions- Specified by:
orin interfacePartialCondition
-
and
Description copied from interface:PartialConditionConjunct multiple expressions- Specified by:
andin interfacePartialCondition
-
or
Description copied from interface:PartialConditionDisjunct multiple expressions- Specified by:
orin interfacePartialCondition
-
conditionsList
-
is
Description copied from interface:PartialConditionGet property of inspected entity type- Specified by:
isin interfacePartialCondition
-
toString
-
toFiqlPrimitiveCondition
-