Class TableRef

java.lang.Object
org.apache.arrow.flight.sql.util.TableRef

public class TableRef extends Object
A helper class to reference a table to be passed to the flight sql client.
  • Constructor Details

    • TableRef

      public TableRef(String catalog, String dbSchema, String table)
      The complete constructor for the TableRef class.
      Parameters:
      catalog - the catalog from a table.
      dbSchema - the database schema from a table.
      table - the table name from a table.
  • Method Details

    • of

      public static TableRef of(String catalog, String dbSchema, String table)
      A static initializer of the TableRef with all the arguments.
      Parameters:
      catalog - the catalog from a table.
      dbSchema - the database schema from a table.
      table - the table name from a table.
      Returns:
      A TableRef object.
    • getCatalog

      public String getCatalog()
      Retrieve the catalog from the object.
      Returns:
      the catalog.
    • getDbSchema

      public String getDbSchema()
      Retrieves the db schema from the object.
      Returns:
      the dbSchema
    • getTable

      public String getTable()
      Retrieves the table from the object.
      Returns:
      the table.