public class MobileServiceQueryOperations extends Object
Constructor and Description |
---|
MobileServiceQueryOperations() |
Modifier and Type | Method and Description |
---|---|
static MobileServiceQuery<?> |
add()
Add operator.
|
static MobileServiceQuery<?> |
add(MobileServiceQuery<?> otherQuery)
Add operator.
|
static MobileServiceQuery<?> |
add(Number val)
Add operator.
|
static MobileServiceQuery<?> |
and()
Conditional and.
|
static MobileServiceQuery<?> |
and(MobileServiceQuery<?> otherQuery)
Conditional and.
|
static MobileServiceQuery<?> |
ceiling(MobileServiceQuery<?> exp)
The smallest integral value greater than or equal to the parameter value.
|
static MobileServiceQuery<?> |
concat(MobileServiceQuery<?> str1,
MobileServiceQuery<?> str2)
String value which is the first and second parameter values merged
together with the first parameter value coming first in the result.
|
static MobileServiceQuery<?> |
day(MobileServiceQuery<?> exp)
The day component value of the parameter value.
|
static MobileServiceQuery<?> |
day(String field)
The day component value of the parameter value.
|
static MobileServiceQuery<?> |
div()
Divide operator.
|
static MobileServiceQuery<?> |
div(MobileServiceQuery<?> otherQuery)
Divide operator.
|
static MobileServiceQuery<?> |
div(Number val)
Divide operator.
|
static MobileServiceQuery<?> |
endsWith(MobileServiceQuery<?> field,
MobileServiceQuery<?> end)
Whether the end of the first parameter value matches the second parameter
value.
|
static MobileServiceQuery<?> |
endsWith(String field,
String end)
Whether the end of the first parameter value matches the second parameter
value.
|
static MobileServiceQuery<?> |
eq()
Equal comparison operator.
|
static MobileServiceQuery<?> |
eq(boolean booleanValue)
Equal comparison operator.
|
static MobileServiceQuery<?> |
eq(Date dateValue)
Equal comparison operator.
|
static MobileServiceQuery<?> |
eq(MobileServiceQuery<?> otherQuery)
Equal comparison operator.
|
static MobileServiceQuery<?> |
eq(Number numberValue)
Equal comparison operator.
|
static MobileServiceQuery<?> |
eq(String stringValue)
Equal comparison operator.
|
static MobileServiceQuery<?> |
field(String fieldName)
Creates MobileServiceQuery> representing a field
|
static MobileServiceQuery<?> |
floor(MobileServiceQuery<?> exp)
The largest integral value less than or equal to the parameter value.
|
static MobileServiceQuery<?> |
ge()
Greater than or equal comparison operator.
|
static MobileServiceQuery<?> |
ge(Date dateValue)
Greater than or equal comparison operator.
|
static MobileServiceQuery<?> |
ge(MobileServiceQuery<?> otherQuery)
Greater than or equal comparison operator.
|
static MobileServiceQuery<?> |
ge(Number numberValue)
Greater than or equal comparison operator.
|
static MobileServiceQuery<?> |
gt()
Greater than comparison operator.
|
static MobileServiceQuery<?> |
gt(Date dateValue)
Greater than comparison operator.
|
static MobileServiceQuery<?> |
gt(MobileServiceQuery<?> otherQuery)
Greater than comparison operator.
|
static MobileServiceQuery<?> |
gt(Number numberValue)
Greater than comparison operator.
|
static MobileServiceQuery<?> |
hour(MobileServiceQuery<?> exp)
The hour component value of the parameter value.
|
static MobileServiceQuery<?> |
hour(String field)
The hour component value of the parameter value.
|
static MobileServiceQuery<?> |
indexOf(MobileServiceQuery<?> haystack,
MobileServiceQuery<?> needle)
Index of the first occurrence of the second parameter value in the first
parameter value or -1 otherwise.
|
static MobileServiceQuery<?> |
indexOf(String field,
String str)
Index of the first occurrence of the second parameter value in the first
parameter value or -1 otherwise.
|
static MobileServiceQuery<?> |
le()
Less than or equal comparison operator.
|
static MobileServiceQuery<?> |
le(Date dateValue)
Less than or equal comparison operator.
|
static MobileServiceQuery<?> |
le(MobileServiceQuery<?> otherQuery)
Less than or equal comparison operator.
|
static MobileServiceQuery<?> |
le(Number numberValue)
Less than or equal comparison operator.
|
static MobileServiceQuery<?> |
length(MobileServiceQuery<?> exp)
The number of characters in the specified parameter value.
|
static MobileServiceQuery<?> |
length(String field)
The number of characters in the specified parameter value.
|
static MobileServiceQuery<?> |
lt()
Less than comparison operator.
|
static MobileServiceQuery<?> |
lt(Date dateValue)
Less than comparison operator.
|
static MobileServiceQuery<?> |
lt(MobileServiceQuery<?> otherQuery)
Less than comparison operator.
|
static MobileServiceQuery<?> |
lt(Number numberValue)
Less than comparison operator.
|
static MobileServiceQuery<?> |
minute(MobileServiceQuery<?> exp)
The minute component value of the parameter value.
|
static MobileServiceQuery<?> |
minute(String field)
The minute component value of the parameter value.
|
static MobileServiceQuery<?> |
mod()
Reminder (or modulo) operator.
|
static MobileServiceQuery<?> |
mod(MobileServiceQuery<?> otherQuery)
Reminder (or modulo) operator.
|
static MobileServiceQuery<?> |
mod(Number val)
Reminder (or modulo) operator.
|
static MobileServiceQuery<?> |
month(MobileServiceQuery<?> exp)
The month component value of the parameter value.
|
static MobileServiceQuery<?> |
month(String field)
The month component value of the parameter value.
|
static MobileServiceQuery<?> |
mul()
Multiply operator.
|
static MobileServiceQuery<?> |
mul(MobileServiceQuery<?> otherQuery)
Multiply operator.
|
static MobileServiceQuery<?> |
mul(Number val)
Multiply operator.
|
static MobileServiceQuery<?> |
ne()
Not equal comparison operator.
|
static MobileServiceQuery<?> |
ne(boolean booleanValue)
Not equal comparison operator.
|
static MobileServiceQuery<?> |
ne(Date dateValue)
Not equal comparison operator.
|
static MobileServiceQuery<?> |
ne(MobileServiceQuery<?> otherQuery)
Not equal comparison operator.
|
static MobileServiceQuery<?> |
ne(Number numberValue)
Not equal comparison operator.
|
static MobileServiceQuery<?> |
ne(String stringValue)
Not equal comparison operator.
|
static MobileServiceQuery<?> |
not()
Logical not.
|
static MobileServiceQuery<?> |
not(boolean booleanValue)
Logical not.
|
static MobileServiceQuery<?> |
not(MobileServiceQuery<?> otherQuery)
Logical not.
|
static MobileServiceQuery<?> |
or()
Conditional or.
|
static MobileServiceQuery<?> |
or(MobileServiceQuery<?> otherQuery)
Conditional or.
|
static MobileServiceQuery<?> |
query(MobileServiceQuery<?> subQuery)
Creates MobileServiceQuery> with an existing query as its only internal
value
|
static MobileServiceQuery<?> |
replace(MobileServiceQuery<?> str,
MobileServiceQuery<?> find,
MobileServiceQuery<?> replace)
Finds the second string parameter in the first parameter string value and
replaces it with the third parameter value.
|
static MobileServiceQuery<?> |
replace(String field,
String find,
String replace)
Finds the second string parameter in the first parameter string value and
replaces it with the third parameter value.
|
static MobileServiceQuery<?> |
round(MobileServiceQuery<?> exp)
The nearest integral value to the parameter value.
|
static MobileServiceQuery<?> |
second(MobileServiceQuery<?> exp)
The second component value of the parameter value.
|
static MobileServiceQuery<?> |
second(String field)
The second component value of the parameter value.
|
static MobileServiceQuery<?> |
startsWith(MobileServiceQuery<?> field,
MobileServiceQuery<?> start)
Whether the beginning of the first parameter values matches the second
parameter value.
|
static MobileServiceQuery<?> |
startsWith(String field,
String start)
Whether the beginning of the first parameter values matches the second
parameter value.
|
static MobileServiceQuery<?> |
sub()
Subtract operator.
|
static MobileServiceQuery<?> |
sub(MobileServiceQuery<?> otherQuery)
Subtract operator.
|
static MobileServiceQuery<?> |
sub(Number val)
Subtract operator.
|
static MobileServiceQuery<?> |
subString(MobileServiceQuery<?> str,
MobileServiceQuery<?> pos)
String value starting at the character index specified by the second
parameter value in the first parameter string value.
|
static MobileServiceQuery<?> |
subString(MobileServiceQuery<?> str,
MobileServiceQuery<?> pos,
MobileServiceQuery<?> length)
String value starting at the character index specified by the second
parameter value in the first parameter string value.
|
static MobileServiceQuery<?> |
subString(String field,
int pos)
String value starting at the character index specified by the second
parameter value in the first parameter string value.
|
static MobileServiceQuery<?> |
subString(String field,
int pos,
int length)
String value starting at the character index specified by the second
parameter value in the first parameter string value.
|
static MobileServiceQuery<?> |
subStringOf(MobileServiceQuery<?> str1,
MobileServiceQuery<?> str2)
Whether the first parameter string value occurs in the second parameter
string value.
|
static MobileServiceQuery<?> |
subStringOf(String str,
String field)
Whether the string parameter occurs in the field
|
static MobileServiceQuery<?> |
toLower(MobileServiceQuery<?> exp)
String value with the contents of the parameter value converted to lower
case.
|
static MobileServiceQuery<?> |
toLower(String field)
String value with the contents of the parameter value converted to lower
case.
|
static MobileServiceQuery<?> |
toUpper(MobileServiceQuery<?> exp)
String value with the contents of the parameter value converted to upper
case
|
static MobileServiceQuery<?> |
toUpper(String field)
String value with the contents of the parameter value converted to upper
case
|
static MobileServiceQuery<?> |
trim(MobileServiceQuery<?> exp)
String value with the contents of the parameter value with all leading
and trailing white-space characters removed.
|
static MobileServiceQuery<?> |
trim(String field)
String value with the contents of the parameter value with all leading
and trailing white-space characters removed.
|
static MobileServiceQuery<?> |
val(boolean val)
Creates a MobileServiceQuery> representing a boolean value
|
static MobileServiceQuery<?> |
val(Date date)
Creates a MobileServiceQuery> representing a date value
|
static MobileServiceQuery<?> |
val(Number number)
Creates a MobileServiceQuery> representing a numeric value
|
static MobileServiceQuery<?> |
val(String s)
Creates a MobileServiceQuery> representing a string value
|
static MobileServiceQuery<?> |
year(MobileServiceQuery<?> exp)
The year component value of the parameter value.
|
static MobileServiceQuery<?> |
year(String field)
The year component value of the parameter value.
|
public static MobileServiceQuery<?> query(MobileServiceQuery<?> subQuery)
query
- The query step to addpublic static MobileServiceQuery<?> field(String fieldName)
fieldName
- The name of the fieldpublic static MobileServiceQuery<?> val(Number number)
number
- the number to representpublic static MobileServiceQuery<?> val(boolean val)
val
- the boolean to representpublic static MobileServiceQuery<?> val(String s)
s
- the string to representpublic static MobileServiceQuery<?> val(Date date)
date
- the date to representpublic static MobileServiceQuery<?> and()
public static MobileServiceQuery<?> and(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> or()
public static MobileServiceQuery<?> or(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> not()
public static MobileServiceQuery<?> not(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> not(boolean booleanValue)
booleanValue
- public static MobileServiceQuery<?> ge()
public static MobileServiceQuery<?> ge(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> ge(Number numberValue)
numberValue
- public static MobileServiceQuery<?> ge(Date dateValue)
dateValue
- public static MobileServiceQuery<?> le()
public static MobileServiceQuery<?> le(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> le(Number numberValue)
numberValue
- public static MobileServiceQuery<?> le(Date dateValue)
dateValue
- public static MobileServiceQuery<?> gt()
public static MobileServiceQuery<?> gt(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> gt(Number numberValue)
numberValue
- public static MobileServiceQuery<?> gt(Date dateValue)
dateValue
- public static MobileServiceQuery<?> lt()
public static MobileServiceQuery<?> lt(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> lt(Number numberValue)
numberValue
- public static MobileServiceQuery<?> lt(Date dateValue)
dateValue
- public static MobileServiceQuery<?> eq()
public static MobileServiceQuery<?> eq(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> eq(Number numberValue)
numberValue
- public static MobileServiceQuery<?> eq(boolean booleanValue)
booleanValue
- public static MobileServiceQuery<?> eq(String stringValue)
stringValue
- public static MobileServiceQuery<?> eq(Date dateValue)
dateValue
- public static MobileServiceQuery<?> ne()
public static MobileServiceQuery<?> ne(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> ne(Number numberValue)
numberValue
- public static MobileServiceQuery<?> ne(boolean booleanValue)
booleanValue
- public static MobileServiceQuery<?> ne(String stringValue)
stringValue
- public static MobileServiceQuery<?> ne(Date dateValue)
dateValue
- public static MobileServiceQuery<?> add()
public static MobileServiceQuery<?> add(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> add(Number val)
val
- public static MobileServiceQuery<?> sub()
public static MobileServiceQuery<?> sub(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> sub(Number val)
val
- public static MobileServiceQuery<?> mul()
public static MobileServiceQuery<?> mul(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> mul(Number val)
val
- public static MobileServiceQuery<?> div()
public static MobileServiceQuery<?> div(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> div(Number val)
val
- public static MobileServiceQuery<?> mod()
public static MobileServiceQuery<?> mod(MobileServiceQuery<?> otherQuery)
otherQuery
- public static MobileServiceQuery<?> mod(Number val)
val
- public static MobileServiceQuery<?> year(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> year(String field)
field
- public static MobileServiceQuery<?> month(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> month(String field)
field
- public static MobileServiceQuery<?> day(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> day(String field)
field
- public static MobileServiceQuery<?> hour(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> hour(String field)
field
- public static MobileServiceQuery<?> minute(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> minute(String field)
field
- public static MobileServiceQuery<?> second(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> second(String field)
field
- public static MobileServiceQuery<?> floor(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> ceiling(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> round(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> toLower(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> toLower(String field)
field
- public static MobileServiceQuery<?> toUpper(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> toUpper(String field)
field
- public static MobileServiceQuery<?> length(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> length(String field)
field
- public static MobileServiceQuery<?> trim(MobileServiceQuery<?> exp)
exp
- public static MobileServiceQuery<?> trim(String field)
exp
- public static MobileServiceQuery<?> startsWith(MobileServiceQuery<?> field, MobileServiceQuery<?> start)
field
- The field to evaluate.start
- Start value.public static MobileServiceQuery<?> startsWith(String field, String start)
field
- The field to evaluate.start
- Start value.public static MobileServiceQuery<?> endsWith(MobileServiceQuery<?> field, MobileServiceQuery<?> end)
field
- The field to evaluate.end
- End value.public static MobileServiceQuery<?> endsWith(String field, String end)
field
- The field to evaluate.end
- End value.public static MobileServiceQuery<?> subStringOf(MobileServiceQuery<?> str1, MobileServiceQuery<?> str2)
str1
- First stringstr2
- Second stringpublic static MobileServiceQuery<?> subStringOf(String str, String field)
str
- String to searchfield
- Field to search inpublic static MobileServiceQuery<?> concat(MobileServiceQuery<?> str1, MobileServiceQuery<?> str2)
str1
- First stringstr2
- Second stringpublic static MobileServiceQuery<?> indexOf(MobileServiceQuery<?> haystack, MobileServiceQuery<?> needle)
haystack
- String contentneedle
- Value to search forpublic static MobileServiceQuery<?> indexOf(String field, String str)
field
- Field to seach instr
- Value to search forpublic static MobileServiceQuery<?> subString(MobileServiceQuery<?> str, MobileServiceQuery<?> pos)
str
- String contentpos
- Starting positionpublic static MobileServiceQuery<?> subString(String field, int pos)
field
- Field to scanpos
- Starting positionpublic static MobileServiceQuery<?> subString(MobileServiceQuery<?> str, MobileServiceQuery<?> pos, MobileServiceQuery<?> length)
str
- String contentpos
- Starting positionlength
- Lengthpublic static MobileServiceQuery<?> subString(String field, int pos, int length)
field
- Field to scanpos
- Starting positionlength
- Lengthpublic static MobileServiceQuery<?> replace(MobileServiceQuery<?> str, MobileServiceQuery<?> find, MobileServiceQuery<?> replace)
str
- String contentfind
- Search valuereplace
- Replace valuepublic static MobileServiceQuery<?> replace(String field, String find, String replace)
field
- Field to scanfind
- Search valuereplace
- Replace value