public class FunctionContext extends Object
| Constructor and Description |
|---|
FunctionContext() |
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Retrieve number of rows for aggregate function.
|
void |
set_error(String r)
Set function result from error message.
|
void |
set_result_zeroblob(int n)
Set function result as empty blob given size.
|
void |
set_result(byte[] r)
Set function result from byte array.
|
void |
set_result(double r)
Set function result from double.
|
void |
set_result(int r)
Set function result from integer.
|
void |
set_result(String r)
Set function result from string.
|
public void set_result(String r)
r - result stringpublic void set_result(int r)
r - result integerpublic void set_result(double r)
r - result doublepublic void set_error(String r)
r - result string (error message)public void set_result(byte[] r)
r - result byte arraypublic void set_result_zeroblob(int n)
n - size for empty blobpublic int count()
Copyright © 2014. All rights reserved.