类 AbstractBufferRow

  • 所有已实现的接口:
    ProtocolEntity, ResultsetRow, Row
    直接已知子类:
    BinaryBufferRow, TextBufferRow

    public abstract class AbstractBufferRow
    extends AbstractResultsetRow
    A ResultSetRow implementation that holds one row packet (which is re-used by the driver, and thus saves memory allocations), and tries when possible to avoid allocations to break out the results as individual byte[]s. (this isn't possible when doing things like reading floating point values).
    • 字段详细资料

      • homePosition

        protected int homePosition
        The beginning of the row packet
      • lastRequestedIndex

        protected int lastRequestedIndex
        The last-requested index, used as an optimization, if you ask for the same index, we won't seek to find it. If you ask for an index that is greater than the last one requested, we start seeking from the last requested index.
      • lastRequestedPos

        protected int lastRequestedPos
        The position of the last-requested index, optimization in concert with lastRequestedIndex.
    • 构造器详细资料