org.mariadb.jdbc.internal.com.read.resultset.rowprotocol
Class BinaryRowProtocol

java.lang.Object
  extended by org.mariadb.jdbc.internal.com.read.resultset.rowprotocol.RowProtocol
      extended by org.mariadb.jdbc.internal.com.read.resultset.rowprotocol.BinaryRowProtocol

public class BinaryRowProtocol
extends RowProtocol


Field Summary
 
Fields inherited from class org.mariadb.jdbc.internal.com.read.resultset.rowprotocol.RowProtocol
buf, index, length, maxFieldSize, NULL_LENGTH, pos
 
Constructor Summary
BinaryRowProtocol(ColumnInformation[] columnInformation, int columnInformationLength, int maxFieldSize)
          Constructor.
 
Method Summary
 boolean setPosition(int newIndex)
          Set length and pos indicator to asked index.
 
Methods inherited from class org.mariadb.jdbc.internal.com.read.resultset.rowprotocol.RowProtocol
getLengthMaxFieldSize, getMaxFieldSize, resetRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryRowProtocol

public BinaryRowProtocol(ColumnInformation[] columnInformation,
                         int columnInformationLength,
                         int maxFieldSize)
Constructor.

Parameters:
columnInformation - column information.
columnInformationLength - number of columns
maxFieldSize - max field size
Method Detail

setPosition

public boolean setPosition(int newIndex)
Set length and pos indicator to asked index.

Specified by:
setPosition in class RowProtocol
Parameters:
newIndex - index (0 is first).
Returns:
true if value is null
See Also:
Resultset row protocol documentation


Copyright © 2017. All rights reserved.