Class Row.RowBuilder

  • Enclosing class:
    Row

    public static class Row.RowBuilder
    extends java.lang.Object
    Utility class to build row objects.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.Object[] values  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RowBuilder​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Row build()
      Return a Row object
      void reset()
      Allocates a new internal array.
      void set​(int index, java.lang.Object value)
      Set the value of a particular column.
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • values

        java.lang.Object[] values
    • Constructor Detail

      • RowBuilder

        private RowBuilder​(int size)
    • Method Detail

      • set

        public void set​(int index,
                        java.lang.Object value)
        Set the value of a particular column.
        Parameters:
        index - Zero-indexed position of value.
        value - Desired column value.
      • build

        public Row build()
        Return a Row object
      • reset

        public void reset()
        Allocates a new internal array.
      • size

        public int size()