|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.test.db.TestFunctions.MedianString
public static class TestFunctions.MedianString
This median implementation keeps all objects in memory.
| Constructor Summary | |
|---|---|
TestFunctions.MedianString()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object value)
This method is called once for each row. |
java.lang.Object |
getResult()
This method returns the computed aggregate value. |
int |
getType(int[] inputType)
This method must return the SQL type of the method, given the SQL type of the input data. |
void |
init(java.sql.Connection conn)
This method is called when the aggregate function is used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestFunctions.MedianString()
| Method Detail |
|---|
public void add(java.lang.Object value)
AggregateFunction
add in interface AggregateFunctionvalue - the value(s) for this rowpublic java.lang.Object getResult()
AggregateFunction
getResult in interface AggregateFunctionpublic int getType(int[] inputType)
AggregateFunction
getType in interface AggregateFunctioninputType - the SQL type of the parameters
public void init(java.sql.Connection conn)
AggregateFunction
init in interface AggregateFunctionconn - a connection to the database
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||