Public Functions
| | Function | Defined by |
| | |
Returns a new Literal operator.
| flare.query.methods |
| | |
Creates a new addition Arithmetic query operator.
| flare.query.methods |
| | |
Creates a new And query operator.
| flare.query.methods |
| | |
Creates a new Average query operator.
| flare.query.methods |
| | |
Creates a new Count query operator.
| flare.query.methods |
| | |
Creates a new Distinct query operator.
| flare.query.methods |
| | |
Creates a new division Arithmetic query operator.
| flare.query.methods |
| | |
Creates a new equality Comparison query operator.
| flare.query.methods |
| | |
fn(name:String, ... args): Fn
Creates a new Fn query operator for a function in a query.
| flare.query.methods |
| | |
Creates a new greater-than Comparison query operator.
| flare.query.methods |
| | |
Creates a new greater-than-or-equal Comparison query
operator.
| flare.query.methods |
| | |
iff(test:*, then:*, els:*): If
Creates a new If query operator.
| flare.query.methods |
| | |
isa(type:Class, x:* = null): IsA
Creates a new IsType query operator.
| flare.query.methods |
| | |
Creates a new less-than Comparison query operator.
| flare.query.methods |
| | |
Creates a new less-than-or-equal Comparison query
operator.
| flare.query.methods |
| | |
Creates a new Maximum query operator.
| flare.query.methods |
| | |
Creates a new Minimum query operator.
| flare.query.methods |
| | |
Creates a new modulo Arithmetic query operator.
| flare.query.methods |
| | |
Creates a new multiplication Arithmetic query operator.
| flare.query.methods |
| | |
Creates a new inequality Comparison query operator.
| flare.query.methods |
| | |
Creates a new Not query operator.
| flare.query.methods |
| | |
Creates a new Or query operator.
| flare.query.methods |
| | |
Create a new Query with the given sort criteria.
| flare.query.methods |
| | |
Creates a new Range query operator.
| flare.query.methods |
| | |
Create a new Query with the given select clauses.
| flare.query.methods |
| | |
Creates a new Variance query operator that computes
the population standard deviation.
| flare.query.methods |
| | |
Creates a new subtraction Arithmetic query operator.
| flare.query.methods |
| | |
Creates a new 'sum' Arithmetic query operator.
| flare.query.methods |
| | |
Create a new Query with the given update clauses.
| flare.query.methods |
| | |
Creates a new Variance query operator that computes
the population variance.
| flare.query.methods |
| | |
Create a new Query with the given filter expression.
| flare.query.methods |
| | |
Creates a new Xor (exclusive or) query operator.
| flare.query.methods |
public function _(a:*):Literal
Returns a new Literal operator.
Parameters
Returns
| Literal —
the new Literal expression
|
public function add(a:*, b:*):Arithmetic
Creates a new addition Arithmetic query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function and(... rest):And
Creates a new And query operator.
Parameters
| ... rest — a list of expressions to include in the and
|
Returns
| And —
the new query operator
|
public function average(expr:*):Average
Creates a new Average query operator.
Parameters
| expr:* — the input expression
|
Returns
public function count(expr:*):Count
Creates a new Count query operator.
Parameters
| expr:* — the input expression
|
Returns
| Count —
the new query operator
|
public function distinct(expr:*):Distinct
Creates a new Distinct query operator.
Parameters
| expr:* — the input expression
|
Returns
public function div(a:*, b:*):Arithmetic
Creates a new division Arithmetic query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function eq(a:*, b:*):Comparison
Creates a new equality Comparison query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function fn(name:String, ... args):Fn
Creates a new Fn query operator for a function in a query.
Parameters
| name:String — the name of the function. This should be a function
registered with the Fn class.
|
| |
| ... args — a list of arguments to the function
|
Returns
public function gt(a:*, b:*):Comparison
Creates a new greater-than Comparison query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function gte(a:*, b:*):Comparison
Creates a new greater-than-or-equal Comparison query
operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function iff(test:*, then:*, els:*):If
Creates a new If query operator.
Parameters
| test:* — the if test expression.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| then:* — the then case expression
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| els:* — the else case expression
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
| If —
the new query operator
|
public function isa(type:Class, x:* = null):IsA
Creates a new IsType query operator.
Parameters
| type:Class — the class type to check for
|
| |
| x:* (default = null) — the expression to type check
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
| IsA —
the new query operator
|
public function lt(a:*, b:*):Comparison
Creates a new less-than Comparison query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function lte(a:*, b:*):Comparison
Creates a new less-than-or-equal Comparison query
operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function max(expr:*):Maximum
Creates a new Maximum query operator.
Parameters
| expr:* — the input expression
|
Returns
public function min(expr:*):Minimum
Creates a new Minimum query operator.
Parameters
| expr:* — the input expression
|
Returns
public function mod(a:*, b:*):Arithmetic
Creates a new modulo Arithmetic query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function mul(a:*, b:*):Arithmetic
Creates a new multiplication Arithmetic query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function neq(a:*, b:*):Comparison
Creates a new inequality Comparison query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function not(x:*):Not
Creates a new Not query operator.
Parameters
| x:* — the expression to negate
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
| Not —
the new query operator
|
public function or(... rest):Or
Creates a new Or query operator.
Parameters
| ... rest — a list of expressions to include in the or
|
Returns
| Or —
the new query operator
|
public function orderby(... terms):Query
Create a new Query with the given sort criteria.
Parameters
| ... terms — a list of sort criteria
|
Returns
| Query —
the created query.
|
public function range(min:*, max:*, val:*):Range
Creates a new Range query operator.
Parameters
| min:* — the minimum range value.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| max:* — the maximum range value.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| val:* — the value to test for range inclusion.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
| Range —
the new query operator
|
public function select(... terms):Query
Create a new Query with the given select clauses.
Parameters
| ... terms — a list of select clauses
|
Returns
| Query —
the created query.
|
public function stddev(expr:*):Variance
Creates a new Variance query operator that computes
the population standard deviation.
Parameters
| expr:* — the input expression
|
Returns
public function sub(a:*, b:*):Arithmetic
Creates a new subtraction Arithmetic query operator.
Parameters
| a:* — the left side argument.
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
| |
| b:* — the right side argument
This value can be an expression or a literal value.
Literal values are parsed using the Expression.expr method.
|
Returns
public function sum(expr:*):Sum
Creates a new 'sum' Arithmetic query operator.
Parameters
| expr:* — the input expression
|
Returns
| Sum —
the new query operator
|
public function update(... terms):Query
Create a new Query with the given update clauses.
Parameters
| ... terms — a list of update clauses
|
Returns
| Query —
the created query.
|
public function variance(expr:*):Variance
Creates a new Variance query operator that computes
the population variance.
Parameters
| expr:* — the input expression
|
Returns
public function where(expr:*):Query
Create a new Query with the given filter expression.
Parameters
| expr:* — the filter expression
|
Returns
| Query —
the created query.
|
public function xor(... rest):Xor
Creates a new Xor (exclusive or) query operator.
Parameters
| ... rest — a list of expressions to include in the exclusive or
|
Returns
| Xor —
the new query operator
|
© 2007-2008 Regents of the University of California. Created Thu Aug 7 2008 11:09 PM.