Class TableSpec.RelationSpec

java.lang.Object
ca.spatial.table.TableSpec
ca.spatial.table.TableSpec.RelationSpec
Enclosing class:
TableSpec

public static class TableSpec.RelationSpec extends TableSpec
This specification will describe a RelationalStore.

The syntax for this specification is


 Relate [{leftrelate}] {leftkey} [{rightrelate}] {rightkey} {rowdelta}?
 
  • Constructor Details

    • RelationSpec

      public RelationSpec(TableSpec table1, TableSpec table2, String column1, String column2, int rowDelta)
      Instantiate a RelationSpec
      Parameters:
      table1 - a reference to the left table
      table2 - a reference to the right table
      column1 - the key from the left table
      column2 - the key in the right table
      rowDelta - Indicates the row offset between the first and second tables
  • Method Details