Class ShiftedArrayTuple

  • All Implemented Interfaces:
    io.vertx.sqlclient.impl.TupleInternal, Tuple

    public class ShiftedArrayTuple
    extends Object
    implements io.vertx.sqlclient.impl.TupleInternal

    ShiftedArrayTuple class.

    Version:
    $Id: $Id
    Author:
    Long Dinh
    • Constructor Detail

      • ShiftedArrayTuple

        public ShiftedArrayTuple​(Object[] values,
                                 int offset)

        Constructor for ShiftedArrayTuple.

        Parameters:
        values - an array of Object objects.
        offset - a int.
    • Method Detail

      • setValue

        public void setValue​(int pos,
                             Object value)
        Specified by:
        setValue in interface io.vertx.sqlclient.impl.TupleInternal
      • getValueInternal

        public Object getValueInternal​(int pos)
        Specified by:
        getValueInternal in interface io.vertx.sqlclient.impl.TupleInternal
      • addValue

        public Tuple addValue​(Object value)
        Add an object value at the end of the tuple.
        Specified by:
        addValue in interface Tuple
        Parameters:
        value - the value
        Returns:
        a reference to this, so the API can be used fluently
      • size

        public int size()
        Specified by:
        size in interface Tuple
        Returns:
        the tuple size
      • clear

        public void clear()
        Specified by:
        clear in interface Tuple