Package ca.spatial.table
Class TableSpec.AppendSpec
java.lang.Object
ca.spatial.table.TableSpec
ca.spatial.table.TableSpec.AppendSpec
- Enclosing class:
- TableSpec
This specification will describe a
AppendStore
table
The syntax for this specification is
Append [Tables [{parent}]... ] {{reselects}} {{periods}} {{columnSpecs}}
Note that the {{reselects}}, {{periods}}, and {{columnSpecs}}
symbols contain sequences of values
that are enclosed by literal { } characters to represent lists.-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spatial.table.TableSpec
TableSpec.AppendSpec, TableSpec.CoverageSpec, TableSpec.CrosstabSpec, TableSpec.CSVSpec, TableSpec.DBaseSpec, TableSpec.ExcelSpec, TableSpec.FlattenSpec, TableSpec.InfoSpec, TableSpec.JDBCSpec, TableSpec.RamAttributeStoreSpec, TableSpec.RelationSpec, TableSpec.ShapefileSpec, TableSpec.SnapshotSpec, TableSpec.SummarySpec, TableSpec.TransposePeriodSpec, TableSpec.TransposeRowSpec, TableSpec.TransposeSpec, TableSpec.VirtualSpec
-
Constructor Summary
ConstructorsConstructorDescriptionAppendSpec(AttributeStore[] stores, String[] reselects, int[] periods, AppendColumnSpec[] columnSpecs)
Create an AppendSpecAppendSpec(TableSpec[] tables, String[] reselects, int[] periods, AppendColumnSpec[] columnSpecs)
-
Method Summary
Modifier and TypeMethodDescriptionGet the unique and unequivocal identifier for thisTableSpec
.Get the type of table described by thisTableSpec
.Get the name of the table described by thisTableSpec
.boolean
isPlain()
Does this specification describe a plain file?open()
Open the data table described by thisTableSpec
.Methods inherited from class ca.spatial.table.TableSpec
decode, equals, isDefaultEncoding, isGeoRelational, open, open, quoteExprIfRequired, quoteIfRequired, toString
-
Constructor Details
-
AppendSpec
public AppendSpec(AttributeStore[] stores, String[] reselects, int[] periods, AppendColumnSpec[] columnSpecs)Create an AppendSpec- Parameters:
stores
- the array of parent table objects to appendreselects
- the array of reselect expressions that choose the records to includeperiods
- the list of periods taht will be sampledcolumnSpecs
- the list of columns that will be in the output table
-
AppendSpec
public AppendSpec(TableSpec[] tables, String[] reselects, int[] periods, AppendColumnSpec[] columnSpecs)
-
-
Method Details
-
getFlavour
Description copied from class:TableSpec
Get the type of table described by thisTableSpec
.- Specified by:
getFlavour
in classTableSpec
-
isPlain
public boolean isPlain()Description copied from class:TableSpec
Does this specification describe a plain file? -
getTableName
Description copied from class:TableSpec
Get the name of the table described by thisTableSpec
.- Specified by:
getTableName
in classTableSpec
-
getCanonicalName
Description copied from class:TableSpec
Get the unique and unequivocal identifier for thisTableSpec
.- Overrides:
getCanonicalName
in classTableSpec
-
open
Description copied from class:TableSpec
Open the data table described by thisTableSpec
.
-