| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectisql.util.ArrayBuilder
public class ArrayBuilder
Utility functions for the arrays composing the columns of the SQL query
| Constructor Summary | |
|---|---|
ArrayBuilder()
 | 
|
| Method Summary | |
|---|---|
static java.lang.Object[] | 
buildArray(ColumnType type,
           int size)
Builds an array of a certain type  | 
static java.lang.Object[] | 
convertToBig(ColumnType type,
             java.lang.Object small)
Converts an array of primitives (double, boolean) to an array of objects (Double, Boolean)  | 
static java.lang.Object[] | 
convertToBigInteger(int[] arrSmall)
Converts an array of int to an array of Integer  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ArrayBuilder()
| Method Detail | 
|---|
public static java.lang.Object[] buildArray(ColumnType type,
                                            int size)
type - the type of the array (NUMERIC, TEXT...)size - the size of the array
public static java.lang.Object[] convertToBig(ColumnType type,
                                              java.lang.Object small)
type - the type of the array (NUMERIC, BOOLEAN...)small - the array of primitives
public static java.lang.Object[] convertToBigInteger(int[] arrSmall)
arrSmall - the int[] array
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||