Class Table<RequestT>

java.lang.Object
com.sap.cloud.sdk.s4hana.connectivity.rfc.Table<RequestT>
Type Parameters:
RequestT - The type of the request this table is used in.

@Deprecated public class Table<RequestT> extends Object
Deprecated.
This module will be discontinued, along with its classes and methods.
Gathers values that should be passed as a JCoTable to a JCoFunction.

The values stored are grouped by a row Id that gets incremented for each row created via row(). As a result the size() methods returns the number of such groups and not the number of actual values stored.

  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Translate this reference to a TableAsVector that gathers values that are added to this vector.
    protected boolean
    Deprecated.
     
    end()
    Deprecated.
    Returns the initial request, finalizing the access to this Table.
    boolean
    Deprecated.
     
    int
    Deprecated.
     
    boolean
    Deprecated.
    Checks whether this table is empty, or has at least one value stored.
    row()
    Deprecated.
    Creates and returns a new TableRow that gathers values that are added to this Table.
    int
    Deprecated.
    The number of currently stored groups of values as well as the Id of the last group of added values.
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • size

      public int size()
      Deprecated.
      The number of currently stored groups of values as well as the Id of the last group of added values.
      Returns:
      The number of values stored in this table.
    • isEmpty

      public boolean isEmpty()
      Deprecated.
      Checks whether this table is empty, or has at least one value stored.
      Returns:
      True, if this table contains no element; false, else.
    • asVector

      @Nonnull public TableAsVector<RequestT> asVector()
      Deprecated.
      Translate this reference to a TableAsVector that gathers values that are added to this vector.
      Returns:
      A new TableAsVector linked to this Table.
    • row

      @Nonnull public TableRow<RequestT> row()
      Deprecated.
      Creates and returns a new TableRow that gathers values that are added to this Table.
      Returns:
      A new TableRow linked to this Table.
    • end

      @Nonnull public RequestT end()
      Deprecated.
      Returns the initial request, finalizing the access to this Table.
      Returns:
      The original request.
    • equals

      public boolean equals(@Nullable Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Deprecated.
      Overrides:
      toString in class Object