Package org.ivoa.dm.tapschema
Class Table.TableBuilder
java.lang.Object
org.ivoa.dm.tapschema.Table.TableBuilder
- Enclosing class:
- Table
A builder class for table, mainly for use in the functional builder pattern.
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe columns that make up the table.description.the foreign keys for this table.used to recommend table ordering for clients.name of the table.the type of table.utype. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
table_name
name of the table. -
table_type
the type of table. -
utype
utype. -
description
description. -
table_index
used to recommend table ordering for clients. Clients may order by index (ascending) so lower index items would appear earlier in a listing. -
columns
the columns that make up the table. -
fkeys
the foreign keys for this table.
-
-
Constructor Details
-
TableBuilder
public TableBuilder()
-
-
Method Details
-
create
create a table from this builder.- Returns:
- an object initialized from the builder.
-