Interface RelationalStructBuilder


  • public interface RelationalStructBuilder
    For implementation by RelationalStruct Builder. There is no metadata available while RelationalStruct instance when under construction. The order in which columns are set is preserved and is the order in which fields are returned when accessed by field/column index.
    • Method Detail

      • addBoolean

        RelationalStructBuilder addBoolean​(java.lang.String fieldName,
                                           boolean b)
                                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addShort

        RelationalStructBuilder addShort​(java.lang.String fieldName,
                                         short b)
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addLong

        RelationalStructBuilder addLong​(java.lang.String fieldName,
                                        long l)
                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addFloat

        RelationalStructBuilder addFloat​(java.lang.String fieldName,
                                         float f)
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addDouble

        RelationalStructBuilder addDouble​(java.lang.String fieldName,
                                          double d)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addBytes

        RelationalStructBuilder addBytes​(java.lang.String fieldName,
                                         byte[] bytes)
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addString

        RelationalStructBuilder addString​(java.lang.String fieldName,
                                          @Nullable
                                          java.lang.String s)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addObject

        RelationalStructBuilder addObject​(java.lang.String fieldName,
                                          @Nullable
                                          java.lang.Object obj,
                                          int targetSqlType)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • addInt

        RelationalStructBuilder addInt​(java.lang.String fieldName,
                                       int i)
                                throws java.sql.SQLException
        Throws:
        java.sql.SQLException