Class SubArrayTuple

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

    public class SubArrayTuple
    extends Object
    implements io.vertx.sqlclient.impl.TupleInternal
    • Constructor Detail

      • SubArrayTuple

        public SubArrayTuple​(Object[] values,
                             int offset,
                             int length)

        Constructor for SubArrayTuple.

        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