Interface SQLStatementIF

  • All Known Implementing Classes:
    SQLStatement

    public interface SQLStatementIF
    INTERNAL: Represents a concrete SQL query.
    • Method Detail

      • getWidth

        int getWidth()
        INTERNAL: Returns the number of fields that will be selected by the statement.
      • readValue

        Object readValue​(TicketIF ticket,
                         ResultSet rs,
                         int index,
                         boolean lookup_identities)
                  throws Exception
        INTERNAL: Read the field value of the specified index from the current row in the result set.

        If the field is an identity field or a reference field, the object identity will be extracted and the identity will be used to look up the object in the transaction.

        Throws:
        Exception
      • readValues

        Object[] readValues​(TicketIF ticket,
                            ResultSet rs,
                            Object[] values,
                            boolean lookup_identities)
                     throws Exception
        INTERNAL: Reads all the field values from the current row into the specified value array. Note that this array must have a width that is equal or greater than the width of the result.

        Throws:
        Exception
      • readValues

        Object[] readValues​(TicketIF ticket,
                            ResultSet rs,
                            boolean lookup_identities)
                     throws Exception
        INTERNAL: Reads all the field values from the current row in the result set.

        Throws:
        Exception