|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.jaxrs.ext.search.client.FiqlSearchConditionBuilder.Builder
protected static class FiqlSearchConditionBuilder.Builder
Field Summary | |
---|---|
protected String |
currentCompositeOp
|
protected DateFormat |
df
|
protected FiqlSearchConditionBuilder.Builder |
parent
|
protected String |
result
|
protected boolean |
timeZoneSupported
|
Constructor Summary | |
---|---|
FiqlSearchConditionBuilder.Builder(FiqlSearchConditionBuilder.Builder parent)
|
|
FiqlSearchConditionBuilder.Builder(Map<String,String> properties)
|
Method Summary | |
---|---|
CompleteCondition |
after(Date date)
Is date property after (greater than) given date? |
CompleteCondition |
after(Duration distanceFromNow)
Is date property after (greater than) date distant from now by given period of time? |
PartialCondition |
and()
Conjunct current expression with another |
CompleteCondition |
and(CompleteCondition c1,
CompleteCondition c2,
CompleteCondition... cn)
Conjunct multiple expressions |
CompleteCondition |
and(List<CompleteCondition> conditions)
Conjunct multiple expressions |
Property |
and(String name)
shortcut for and().is() |
CompleteCondition |
before(Date date)
Is date property before (less than) given date? |
CompleteCondition |
before(Duration distanceFromNow)
Is date property before (less than) date distant from now by given period of time? |
protected String |
buildPartial(FiqlSearchConditionBuilder.Builder exclude)
|
CompleteCondition |
comparesTo(ConditionType type,
Date value)
Generic |
CompleteCondition |
comparesTo(ConditionType type,
Double value)
Generic |
CompleteCondition |
comparesTo(ConditionType type,
Duration value)
Generic |
CompleteCondition |
comparesTo(ConditionType type,
Integer value)
Generic |
CompleteCondition |
comparesTo(ConditionType type,
Long value)
Generic |
CompleteCondition |
comparesTo(ConditionType type,
String value)
Generic |
protected CompleteCondition |
condition(String operator,
Object value,
Object... moreValues)
|
protected CompleteCondition |
conditionsList(String op,
List<CompleteCondition> conditions)
|
CompleteCondition |
equalTo(Date date,
Date... moreValues)
Is date property same as given date? |
CompleteCondition |
equalTo(Double number,
Double... moreValues)
Is numeric property equal to given double number? |
CompleteCondition |
equalTo(Duration distanceFromNow,
Duration... moreValues)
Is date property same as date distant from now by given period of time? |
CompleteCondition |
equalTo(Integer number,
Integer... moreValues)
Is numeric property equal to given long number? |
CompleteCondition |
equalTo(Long number,
Long... moreValues)
Is numeric property equal to given long number? |
CompleteCondition |
equalTo(String value,
String... moreValues)
Is textual property equal to given literal or matching given pattern? |
protected DateFormat |
getDateFormat()
|
CompleteCondition |
greaterOrEqualTo(Double number)
Is numeric property greater or equal to given number? |
CompleteCondition |
greaterOrEqualTo(Integer number)
Is numeric property greater or equal to given number? |
CompleteCondition |
greaterOrEqualTo(Long number)
Is numeric property greater or equal to given number? |
CompleteCondition |
greaterThan(Double number)
Is numeric property greater than given number? |
CompleteCondition |
greaterThan(Integer number)
Is numeric property greater than given number? |
CompleteCondition |
greaterThan(Long number)
Is numeric property greater than given number? |
Property |
is(String property)
Get property of inspected entity type |
protected boolean |
isTimeZoneSupported()
|
CompleteCondition |
lessOrEqualTo(Double number)
Is numeric property less or equal to given number? |
CompleteCondition |
lessOrEqualTo(Integer number)
Is numeric property less or equal to given number? |
CompleteCondition |
lessOrEqualTo(Long number)
Is numeric property less or equal to given number? |
CompleteCondition |
lessThan(Double number)
Is numeric property less than given number? |
CompleteCondition |
lessThan(Integer number)
Is numeric property less than given number? |
CompleteCondition |
lessThan(Long number)
Is numeric property less than given number? |
CompleteCondition |
lexicalAfter(String literal)
Is textual property lexically after (greater than) given literal? |
CompleteCondition |
lexicalBefore(String literal)
Is textual property lexically before (less than) given literal? |
CompleteCondition |
lexicalNotAfter(String literal)
Is textual property lexically not after (less or equal to) given literal? |
CompleteCondition |
lexicalNotBefore(String literal)
Is textual property lexically not before (greater or equal to) given literal? |
CompleteCondition |
notAfter(Date date)
Is date property not after (less or equal to) given date? |
CompleteCondition |
notAfter(Duration distanceFromNow)
Is date property not after (less or equal to) date distant from now by given period of time? |
CompleteCondition |
notBefore(Date date)
Is date property not before (greater or equal to) given date? |
CompleteCondition |
notBefore(Duration distanceFromNow)
Is date property not before (greater or equal to) date distant from now by given period of time? |
CompleteCondition |
notEqualTo(Date date)
Is date property different than given date? |
CompleteCondition |
notEqualTo(Double number)
Is numeric property different than given double number? |
CompleteCondition |
notEqualTo(Duration distanceFromNow)
Is date property different than date distant from now by given period of time? |
CompleteCondition |
notEqualTo(Integer number)
Is numeric property different than given int number? |
CompleteCondition |
notEqualTo(Long number)
Is numeric property different than given long number? |
CompleteCondition |
notEqualTo(String literalOrPattern)
Is textual property different than given literal or not matching given pattern? |
PartialCondition |
or()
Disjunct current expression with another |
CompleteCondition |
or(CompleteCondition c1,
CompleteCondition c2,
CompleteCondition... cn)
Disjunct multiple expressions |
CompleteCondition |
or(List<CompleteCondition> conditions)
Disjunct multiple expressions |
Property |
or(String name)
shortcut for or().is() |
String |
query()
Finalize condition construction and build search condition query. |
protected String |
toFiqlPrimitiveCondition(ConditionType type)
|
protected String |
toString(Object value)
|
CompleteCondition |
wrap()
Wraps the current expression in () |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String result
protected FiqlSearchConditionBuilder.Builder parent
protected DateFormat df
protected boolean timeZoneSupported
protected String currentCompositeOp
Constructor Detail |
---|
public FiqlSearchConditionBuilder.Builder(Map<String,String> properties)
public FiqlSearchConditionBuilder.Builder(FiqlSearchConditionBuilder.Builder parent)
Method Detail |
---|
public String query()
CompleteCondition
query
in interface CompleteCondition
protected DateFormat getDateFormat()
protected boolean isTimeZoneSupported()
protected String buildPartial(FiqlSearchConditionBuilder.Builder exclude)
public CompleteCondition after(Date date)
Property
after
in interface Property
public CompleteCondition before(Date date)
Property
before
in interface Property
public CompleteCondition comparesTo(ConditionType type, String value)
Property
comparesTo
in interface Property
public CompleteCondition comparesTo(ConditionType type, Double value)
Property
comparesTo
in interface Property
public CompleteCondition comparesTo(ConditionType type, Integer value)
Property
comparesTo
in interface Property
public CompleteCondition comparesTo(ConditionType type, Long value)
Property
comparesTo
in interface Property
public CompleteCondition comparesTo(ConditionType type, Date value)
Property
comparesTo
in interface Property
public CompleteCondition comparesTo(ConditionType type, Duration value)
Property
comparesTo
in interface Property
public CompleteCondition equalTo(String value, String... moreValues)
Property
equalTo
in interface Property
public CompleteCondition equalTo(Double number, Double... moreValues)
Property
equalTo
in interface Property
public CompleteCondition equalTo(Long number, Long... moreValues)
Property
equalTo
in interface Property
public CompleteCondition equalTo(Integer number, Integer... moreValues)
Property
equalTo
in interface Property
public CompleteCondition equalTo(Date date, Date... moreValues)
Property
equalTo
in interface Property
public CompleteCondition equalTo(Duration distanceFromNow, Duration... moreValues)
Property
equalTo
in interface Property
public CompleteCondition greaterOrEqualTo(Double number)
Property
greaterOrEqualTo
in interface Property
public CompleteCondition greaterOrEqualTo(Long number)
Property
greaterOrEqualTo
in interface Property
public CompleteCondition greaterOrEqualTo(Integer number)
Property
greaterOrEqualTo
in interface Property
public CompleteCondition greaterThan(Double number)
Property
greaterThan
in interface Property
public CompleteCondition greaterThan(Long number)
Property
greaterThan
in interface Property
public CompleteCondition greaterThan(Integer number)
Property
greaterThan
in interface Property
public CompleteCondition lessOrEqualTo(Double number)
Property
lessOrEqualTo
in interface Property
public CompleteCondition lessOrEqualTo(Long number)
Property
lessOrEqualTo
in interface Property
public CompleteCondition lessOrEqualTo(Integer number)
Property
lessOrEqualTo
in interface Property
public CompleteCondition lessThan(Double number)
Property
lessThan
in interface Property
public CompleteCondition lessThan(Long number)
Property
lessThan
in interface Property
public CompleteCondition lessThan(Integer number)
Property
lessThan
in interface Property
public CompleteCondition lexicalAfter(String literal)
Property
lexicalAfter
in interface Property
public CompleteCondition lexicalBefore(String literal)
Property
lexicalBefore
in interface Property
public CompleteCondition lexicalNotAfter(String literal)
Property
lexicalNotAfter
in interface Property
public CompleteCondition lexicalNotBefore(String literal)
Property
lexicalNotBefore
in interface Property
public CompleteCondition notAfter(Date date)
Property
notAfter
in interface Property
public CompleteCondition notBefore(Date date)
Property
notBefore
in interface Property
public CompleteCondition notEqualTo(String literalOrPattern)
Property
notEqualTo
in interface Property
public CompleteCondition notEqualTo(Double number)
Property
notEqualTo
in interface Property
public CompleteCondition notEqualTo(Long number)
Property
notEqualTo
in interface Property
public CompleteCondition notEqualTo(Integer number)
Property
notEqualTo
in interface Property
public CompleteCondition notEqualTo(Date date)
Property
notEqualTo
in interface Property
public CompleteCondition after(Duration distanceFromNow)
Property
after
in interface Property
public CompleteCondition before(Duration distanceFromNow)
Property
before
in interface Property
public CompleteCondition notAfter(Duration distanceFromNow)
Property
notAfter
in interface Property
public CompleteCondition notBefore(Duration distanceFromNow)
Property
notBefore
in interface Property
public CompleteCondition notEqualTo(Duration distanceFromNow)
Property
notEqualTo
in interface Property
protected CompleteCondition condition(String operator, Object value, Object... moreValues)
public PartialCondition and()
CompleteCondition
and
in interface CompleteCondition
public Property and(String name)
CompleteCondition
and
in interface CompleteCondition
public PartialCondition or()
CompleteCondition
or
in interface CompleteCondition
public Property or(String name)
CompleteCondition
or
in interface CompleteCondition
public CompleteCondition wrap()
CompleteCondition
wrap
in interface CompleteCondition
public CompleteCondition and(CompleteCondition c1, CompleteCondition c2, CompleteCondition... cn)
PartialCondition
and
in interface PartialCondition
public CompleteCondition or(CompleteCondition c1, CompleteCondition c2, CompleteCondition... cn)
PartialCondition
or
in interface PartialCondition
public CompleteCondition and(List<CompleteCondition> conditions)
PartialCondition
and
in interface PartialCondition
public CompleteCondition or(List<CompleteCondition> conditions)
PartialCondition
or
in interface PartialCondition
protected CompleteCondition conditionsList(String op, List<CompleteCondition> conditions)
public Property is(String property)
PartialCondition
is
in interface PartialCondition
protected String toString(Object value)
protected String toFiqlPrimitiveCondition(ConditionType type)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |