Inheritance diagram for com.vertica.sdk.BlockWriter:

Public Member Functions | |
| void | addCol (ByteBuffer arg, ByteBuffer da, int colstride, VerticaType dt, String colName) |
| void | addCol (ByteBuffer arg, ByteBuffer da, int colstride, VerticaType dt) |
| void | addCol (ByteBuffer arg, int colstride, VerticaType dt) |
| void | addCol (ByteBuffer arg, int colstride, VerticaType dt, String colName) |
| BlockWriter (int rowcount, VerticaType returnType) | |
| ByteBuffer | getColDataAreaRef (int idx) |
| ByteBuffer | getColRef (int idx) |
| int | getNumCols () |
| int | getNumRows () |
| SizedColumnTypes | getTypeMetaData () |
| VString | getVStringWriter () |
| Allocates a new VString object to use as output. | |
| void | next () |
| Complete writing this row of output and move to the next row. | |
| void | resetBuffers () |
| void | setBoolean (boolean r) |
| Adds a BOOLEAN value to the output row. | |
| void | setBooleanNull () |
| Adds NULL as a BOOLEAN value to the output row. | |
| void | setDate (java.sql.Date r) |
| Adds a DATE value to the output row. | |
| void | setDateNull () |
| Adds NULL as a DATE value to the output row. | |
| void | setDouble (double r) |
| Adds a DOUBLE value to the output row. | |
| void | setDoubleNull () |
| Adds NULL as a DOUBLE value to the output row. | |
| void | setLong (long r) |
| Adds a LONG INTEGER value to the output row. | |
| void | setLongNull () |
| Adds NULL as a LONG INTEGER value to the output row. | |
| void | setNumeric (BigDecimal bd) |
| Allocate a new VNumeric object to use as output. | |
| void | setNumericNull () |
| void | setString (String r) |
| Adds a String value to the output row. | |
| void | setStringNull () |
| Adds NULL as a String value to the output row. | |
| void | setTimestamp (java.sql.Timestamp r) |
| Adds a TIMESTAMP value to the output row. | |
| void | setTimestampInfiniteNeg () |
| Adds a '-infinity' TIMESTAMP value to the output row. | |
| void | setTimestampInfinitePos () |
| Adds a '+infinity' TIMESTAMP value to the output row. | |
| void | setTimestampNull () |
| Adds NULL as a TIMESTAMP value to the output row. | |
Public Attributes | |
| int | count |
| int | index |
| int | ncols |
| SizedColumnTypes | typeMetaData |
Protected Member Functions | |
| void | clear () |
Protected Attributes | |
| ArrayList< ByteBuffer > | coldataareas |
| ArrayList< ByteBuffer > | cols |
| ArrayList< Integer > | colstrides |
| ArrayList< Integer > | currentPos |
This class provides the output rows that ScalarFunction.processBlock() writes to.
| void com.vertica.sdk.VerticaBlock.addCol | ( | ByteBuffer | arg, | |
| ByteBuffer | da, | |||
| int | colstride, | |||
| VerticaType | dt, | |||
| String | colName | |||
| ) | [inherited] |
Add the location for reading a particular argument.
| arg | The base location to find data. | |
| da | The location to find out of band string data. | |
| colstride | The stride between data instances. | |
| dt | The type of input. | |
| colName | Name of the column |
| void com.vertica.sdk.VerticaBlock.addCol | ( | ByteBuffer | arg, | |
| ByteBuffer | da, | |||
| int | colstride, | |||
| VerticaType | dt | |||
| ) | [inherited] |
Add the location for reading a particular argument.
| arg | The base location to find data. | |
| da | The location to find out of band string data. | |
| colstride | The stride between data instances. | |
| dt | The type of input. |
| void com.vertica.sdk.VerticaBlock.addCol | ( | ByteBuffer | arg, | |
| int | colstride, | |||
| VerticaType | dt | |||
| ) | [inherited] |
Add the location for reading a particular argument.
| arg | The base location to find data. | |
| colstride | The stride between data instances. | |
| dt | The type of input. |
| void com.vertica.sdk.VerticaBlock.addCol | ( | ByteBuffer | arg, | |
| int | colstride, | |||
| VerticaType | dt, | |||
| String | colName | |||
| ) | [inherited] |
Add the location for reading a particular argument.
| arg | The base location to find data. | |
| colstride | The stride between data instances. | |
| dt | The type of input. | |
| colName | Name of the column |
| ByteBuffer com.vertica.sdk.VerticaBlock.getColDataAreaRef | ( | int | idx | ) | [inherited] |
Get the ByteBuffer that stores out of line string data (Data Area) for the idx'th argument
| idx |
| ByteBuffer com.vertica.sdk.VerticaBlock.getColRef | ( | int | idx | ) | [inherited] |
ByteBuffer a = arg_reader.getColPtr(0);
| int com.vertica.sdk.VerticaBlock.getNumCols | ( | ) | [inherited] |
| int com.vertica.sdk.VerticaBlock.getNumRows | ( | ) | [inherited] |
| SizedColumnTypes com.vertica.sdk.VerticaBlock.getTypeMetaData | ( | ) | [inherited] |
| VString com.vertica.sdk.BlockWriter.getVStringWriter | ( | ) |
| void com.vertica.sdk.BlockWriter.setBoolean | ( | boolean | r | ) |
Adds a BOOLEAN value to the output row.
| r | The BOOLEAN value to insert into the output row. |
| void com.vertica.sdk.BlockWriter.setDate | ( | java.sql.Date | r | ) |
Adds a DATE value to the output row.
| r | The DATE value to insert into the output row. |
| void com.vertica.sdk.BlockWriter.setDouble | ( | double | r | ) |
Adds a DOUBLE value to the output row.
| r | The DOUBLE value to insert into the output row. |
| void com.vertica.sdk.BlockWriter.setLong | ( | long | r | ) |
Adds a LONG INTEGER value to the output row.
| r | The LONG INTEGER value to insert into the output row. |
| void com.vertica.sdk.BlockWriter.setNumeric | ( | BigDecimal | bd | ) |
| void com.vertica.sdk.BlockWriter.setString | ( | String | r | ) |
Adds a String value to the output row.
| r | The String value to insert into the output row. |
| void com.vertica.sdk.BlockWriter.setTimestamp | ( | java.sql.Timestamp | r | ) |
Adds a TIMESTAMP value to the output row.
| r | The TIMESTAMP value to insert into the output row. |