Inheritance diagram for com.vertica.sdk.ParamReader:

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) |
| boolean | containsParameter (String paramName) |
| Function to see if the ParamReader has a value for the parameter. | |
| boolean | getBoolean (int idx) |
| Get a BOOLEAN value from the input row. | |
| boolean | getBoolean (String paramName) throws UdfException |
| ByteBuffer | getColDataAreaRef (int idx) |
| ByteBuffer | getColRef (int idx) |
| java.sql.Date | getDate (int idx) |
| Get a DATE value from the input row. | |
| java.sql.Date | getDate (String paramName) throws UdfException |
| double | getDouble (int idx) |
| Get a DOUBLE value from the input row. | |
| double | getDouble (String paramName) throws UdfException |
| int | getIndex (String paramName) throws UdfException |
| long | getLong (int idx) |
| Get a LONG INTEGER value from the input row. | |
| long | getLong (String paramName) throws UdfException |
| int | getNumCols () |
| int | getNumRows () |
| ArrayList< String > | getParamNames () |
| Return all names of parameters stored in this ParamReader. | |
| String | getString (int idx) |
| Get a reference to an VARCHAR/CHAR/VARBINARY/BINARY value from the input row. | |
| String | getString (String paramName) throws UdfException |
| int | getStringLength (int idx) |
| Get length of the String from the input row. | |
| int | getStringLength (String paramName) throws UdfException |
| int | getStringLoc (int idx) |
| Get 'location' of the String from the input row. | |
| java.sql.Timestamp | getTimestamp (int idx) |
| Get a TIMESTAMP value from the input row. | |
| java.sql.Timestamp | getTimestamp (String paramName) throws UdfException |
| VerticaType | getType (String paramName) throws UdfException |
| Return the type of the given parameter. | |
| SizedColumnTypes | getTypeMetaData () |
| VNumeric | getVNumeric (int idx) |
| Get a reference to a VNumeric value from the input row. | |
| VNumeric | getVNumeric (String paramName) throws UdfException |
| VString | getVString (int idx) |
| Get a reference from the input row to an VString value, which represents a SQL VARCHAR/CHAR/VARBINARY/BINARY value. | |
| VString | getVString (String paramName) throws UdfException |
| boolean | isBooleanNull (int idx) |
| Check whether a value from the input row is NULL in BOOLEAN type. | |
| boolean | isBooleanNull (String paramName) throws UdfException |
| boolean | isDateNull (int idx) |
| Check whether a value from the input row is NULL in DATE type. | |
| boolean | isDateNull (String paramName) throws UdfException |
| boolean | isDoubleNull (int idx) |
| Check whether a value from the input row is NULL in DOUBLE type. | |
| boolean | isDoubleNull (String paramName) throws UdfException |
| boolean | isEmpty () |
| Returns true if there are no parameters. | |
| boolean | isLongNull (int idx) |
| Check whether a value from the input row is NULL in LONG INTERGER type. | |
| boolean | isLongNull (String paramName) throws UdfException |
| boolean | isStringNull (int idx) |
| Check whether a value from the input row is NULL in SQL VARCHAR/CHAR/VARBINARY/BINARY type. | |
| boolean | isStringNull (String paramName) throws UdfException |
| boolean | isTimestampInfinite (int idx) |
| Check whether a TIMESTAMP value from the input row represents 'infinity'. | |
| boolean | isTimestampInfinite (String paramName) throws UdfException |
| boolean | isTimestampInfiniteNeg (int idx) |
| Check whether a TIMESTAMP value from the input row represents '-infinity'. | |
| boolean | isTimestampInfiniteNeg (String paramName) throws UdfException |
| boolean | isTimestampInfinitePos (int idx) |
| Check whether a TIMESTAMP value from the input row represents '+infinity'. | |
| boolean | isTimestampInfinitePos (String paramName) throws UdfException |
| boolean | isTimestampNull (int idx) |
| Check whether a value from the input row is NULL in TIMESTAMP type. | |
| boolean | isTimestampNull (String paramName) throws UdfException |
| boolean | next () throws UdfException, DestroyInvocation |
| void | resetBuffers () |
Public Attributes | |
| int | count |
| int | index |
| int | ncols |
| HashMap< String, Integer > | paramNameToIndex |
| SizedColumnTypes | typeMetaData |
Protected Member Functions | |
| void | clear () |
Protected Attributes | |
| ArrayList< ByteBuffer > | coldataareas |
| ArrayList< ByteBuffer > | cols |
| ArrayList< Integer > | colstrides |
| ArrayList< Integer > | currentPos |
Package Functions | |
| void | addParameter (String paramName, ByteBuffer arg, VerticaType dt) |
| 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 |
| void com.vertica.sdk.ParamReader.addParameter | ( | String | paramName, | |
| ByteBuffer | arg, | |||
| VerticaType | dt | |||
| ) | [package] |
Add a parameter to the block and stores it name and corresponding index in the paramNameToIndex map
| boolean com.vertica.sdk.BlockReader.getBoolean | ( | int | idx | ) | [inherited] |
Get a BOOLEAN value from the input row.
| idx | The column number to retrieve from the input row. |
| 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);
| java.sql.Date com.vertica.sdk.BlockReader.getDate | ( | int | idx | ) | [inherited] |
Get a DATE value from the input row.
| idx | The column number to retrieve from the input row. |
| double com.vertica.sdk.BlockReader.getDouble | ( | int | idx | ) | [inherited] |
Get a DOUBLE value from the input row.
| idx | The column number to retrieve from the input row. |
| long com.vertica.sdk.BlockReader.getLong | ( | int | idx | ) | [inherited] |
Get a LONG INTEGER value from the input row.
| idx | The column number to retrieve from the input row. |
long a = arg_reader.getLong(0);
| int com.vertica.sdk.VerticaBlock.getNumCols | ( | ) | [inherited] |
| int com.vertica.sdk.VerticaBlock.getNumRows | ( | ) | [inherited] |
| String com.vertica.sdk.BlockReader.getString | ( | int | idx | ) | [inherited] |
Get a reference to an VARCHAR/CHAR/VARBINARY/BINARY value from the input row.
| idx | The column number to retrieve from the input row. |
| int com.vertica.sdk.BlockReader.getStringLength | ( | int | idx | ) | [inherited] |
Get length of the String from the input row.
| idx | The column number to retrieve from the input row. |
| int com.vertica.sdk.BlockReader.getStringLoc | ( | int | idx | ) | [inherited] |
Get 'location' of the String from the input row.
| idx | The column number to retrieve from the input row. |
| java.sql.Timestamp com.vertica.sdk.BlockReader.getTimestamp | ( | int | idx | ) | [inherited] |
Get a TIMESTAMP value from the input row.
| idx | The column number to retrieve from the input row. |
| VerticaType com.vertica.sdk.ParamReader.getType | ( | String | paramName | ) | throws UdfException |
Return the type of the given parameter.
| UdfException |
| SizedColumnTypes com.vertica.sdk.VerticaBlock.getTypeMetaData | ( | ) | [inherited] |
| VNumeric com.vertica.sdk.BlockReader.getVNumeric | ( | int | idx | ) | [inherited] |
Get a reference to a VNumeric value from the input row.
| idx | The column number to retrieve from the input row. |
| VString com.vertica.sdk.BlockReader.getVString | ( | int | idx | ) | [inherited] |
| boolean com.vertica.sdk.BlockReader.isBooleanNull | ( | int | idx | ) | [inherited] |
Check whether a value from the input row is NULL in BOOLEAN type.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isDateNull | ( | int | idx | ) | [inherited] |
Check whether a value from the input row is NULL in DATE type.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isDoubleNull | ( | int | idx | ) | [inherited] |
Check whether a value from the input row is NULL in DOUBLE type.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isLongNull | ( | int | idx | ) | [inherited] |
Check whether a value from the input row is NULL in LONG INTERGER type.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isStringNull | ( | int | idx | ) | [inherited] |
Check whether a value from the input row is NULL in SQL VARCHAR/CHAR/VARBINARY/BINARY type.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isTimestampInfinite | ( | int | idx | ) | [inherited] |
Check whether a TIMESTAMP value from the input row represents 'infinity'.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isTimestampInfiniteNeg | ( | int | idx | ) | [inherited] |
Check whether a TIMESTAMP value from the input row represents '-infinity'.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isTimestampInfinitePos | ( | int | idx | ) | [inherited] |
Check whether a TIMESTAMP value from the input row represents '+infinity'.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.isTimestampNull | ( | int | idx | ) | [inherited] |
Check whether a value from the input row is NULL in TIMESTAMP type.
| idx | The column number to retrieve from the input row. |
| boolean com.vertica.sdk.BlockReader.next | ( | ) | throws UdfException, DestroyInvocation [inherited] |
Advance to the next record.
Reimplemented in com.vertica.sdk.PartitionReader.