TurtleDB
A mini distributed database system
|
Public Member Functions | |
Schema () | |
Schema (String s) | |
Schema (Schema s) | |
Schema (String tableName, String s) | |
void | setTableName (String name) |
Protected Member Functions | |
void | createFromString (String s) |
A schema is an ordered list of attributes.
Definition at line 27 of file Schema.java.
Empty constructor
Definition at line 38 of file Schema.java.
ca.uqac.dim.turtledb.Schema.Schema | ( | String | s | ) |
Constructor from a comma-separated string.
s | The schema |
Definition at line 47 of file Schema.java.
ca.uqac.dim.turtledb.Schema.Schema | ( | String | tableName, |
String | s | ||
) |
Constructor from a comma-separated string.
tableName | The table's name |
s | The schema |
Definition at line 77 of file Schema.java.
void ca.uqac.dim.turtledb.Schema.createFromString | ( | String | s | ) | [protected] |
Creates a schema from a comma-separated list of attributes. Each attribute must be formatted as [tablename.]attributename
s | The string containing the list |
Definition at line 95 of file Schema.java.
void ca.uqac.dim.turtledb.Schema.setTableName | ( | String | name | ) |
Assigns a table name to the tuples in the schema
name | The table's name |
Definition at line 110 of file Schema.java.