Class Table.TableBuilder

java.lang.Object
org.ivoa.dm.regtap.Table.TableBuilder
Enclosing class:
Table

public static class Table.TableBuilder extends Object
A builder class for Table, mainly for use in the functional builder pattern.
  • Field Details

    • schema_index

      public Integer schema_index
      Index of the schema this table belongs to, if it belongs to a schema (otherwise NULL).
    • table_description

      public String table_description
      A free-text description of the table's contents.
    • table_name

      public String table_name
      The fully qualified name of the table. As per VODataService, this includes all catalog or schema prefixes needed to distinguish it in a query, and it comes with SQL delimiters where necessary.
    • table_index

      public Integer table_index
      An arbitrary identifier for the tables belonging to a resource.
    • table_title

      public String table_title
      A descriptive, human-interpretable name for the table.
    • table_type

      public String table_type
      A name for the role this table plays. Recognized values include 'output', indicating this table is output from a query; 'base_table', indicating a table whose records represent the main subjects of its schema; and 'view', indicating that the table represents a useful combination or subset of other tables. Other values are allowed.
    • table_utype

      public String table_utype
      An identifier for a concept in a data model that the data in this table as a whole represent.
    • nrows

      public Integer nrows
      An estimate for the number of rows in the table.
  • Constructor Details

    • TableBuilder

      public TableBuilder()
  • Method Details

    • create

      public Table create()
      create a Table from this builder.
      Returns:
      an object initialized from the builder.