1 | /* |
2 | * Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0, |
3 | * and the EPL 1.0 (http://h2database.com/html/license.html). |
4 | * Initial Developer: H2 Group |
5 | */ |
6 | package org.h2.expression; |
7 | |
8 | /** |
9 | * This class contains information about a built-in function. |
10 | */ |
11 | class FunctionInfo { |
12 | |
13 | /** |
14 | * The name of the function. |
15 | */ |
16 | String name; |
17 | |
18 | /** |
19 | * The function type. |
20 | */ |
21 | int type; |
22 | |
23 | /** |
24 | * The data type of the return value. |
25 | */ |
26 | int dataType; |
27 | |
28 | /** |
29 | * The number of parameters. |
30 | */ |
31 | int parameterCount; |
32 | |
33 | /** |
34 | * If the result of the function is NULL if any of the parameters is NULL. |
35 | */ |
36 | boolean nullIfParameterIsNull; |
37 | |
38 | /** |
39 | * If this function always returns the same value for the same parameters. |
40 | */ |
41 | boolean deterministic; |
42 | |
43 | /** |
44 | * Should the return value ResultSet be buffered in a local temporary file? |
45 | */ |
46 | boolean bufferResultSetToLocalTemp = true; |
47 | |
48 | } |