|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.query.scalarfunction.Lower
public class Lower
A unary scalar function that changes text to lower case.
| Method Summary | |
|---|---|
Value |
evaluate(java.util.List<Value> values)
Executes the scalar function on the given list of values, and returns the Value which is the result of the execution the function. |
java.lang.String |
getFunctionName()
Returns the function's name. |
static Lower |
getInstance()
|
ValueType |
getReturnType(java.util.List<ValueType> types)
Returns the return type of the function, given specific types for its parameters. |
java.lang.String |
toQueryString(java.util.List<java.lang.String> argumentsQueryStrings)
Returns a string that when given to the query parser will yield a similar scalar function. |
void |
validateParameters(java.util.List<ValueType> types)
Validates that the number and types of the function parameters are valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Lower getInstance()
public java.lang.String getFunctionName()
getFunctionName in interface ScalarFunctionpublic Value evaluate(java.util.List<Value> values)
ScalarFunction
evaluate in interface ScalarFunctionvalues - A list that contains one text value.
public ValueType getReturnType(java.util.List<ValueType> types)
ScalarFunction
getReturnType in interface ScalarFunctiontypes - A list of the types of the function's parameters.
public void validateParameters(java.util.List<ValueType> types)
throws InvalidQueryException
validateParameters in interface ScalarFunctiontypes - The given types of the function's parameters.
InvalidQueryException - Thrown when the parameters are invalid.public java.lang.String toQueryString(java.util.List<java.lang.String> argumentsQueryStrings)
toQueryString in interface ScalarFunctionargumentsQueryStrings - The query strings of the actual arguments.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||