Interface ICommand

  • All Superinterfaces:
    com4j.Com4jObject, IParam
    All Known Subinterfaces:
    ICommand2

    public interface ICommand
    extends IParam
    Represents a database command.
    • Method Detail

      • commandText

        java.lang.String commandText()

        The text of the command.

        Getter method for the COM property "CommandText"

        Returns:
        Returns a value of type java.lang.String
      • commandText

        void commandText​(java.lang.String pVal)

        The text of the command.

        Setter method for the COM property "CommandText"

        Parameters:
        pVal - Mandatory java.lang.String parameter.
      • execute

        com4j.Com4jObject execute()

        Executes the command in the CommandText property.

        Returns:
        Returns a value of type com4j.Com4jObject
      • indexFields

        java.lang.String indexFields()

        A comma-separated list of index fields for a SELECT command.

        Getter method for the COM property "IndexFields"

        Returns:
        Returns a value of type java.lang.String
      • indexFields

        void indexFields​(java.lang.String pVal)

        A comma-separated list of index fields for a SELECT command.

        Setter method for the COM property "IndexFields"

        Parameters:
        pVal - Mandatory java.lang.String parameter.
      • affectedRows

        int affectedRows()

        The number of table rows that were affected by the command.

        Getter method for the COM property "AffectedRows"

        Returns:
        Returns a value of type int