This is an intermediate step between shifting from the old fs_* prefixed table names to an entire fieldseeker schema. At this point we have both, and we aren't doing much with the new schema but compiling.
222 lines
4.6 KiB
Go
222 lines
4.6 KiB
Go
// Code generated by BobGen psql v0.42.0. DO NOT EDIT.
|
|
// This file is meant to be re-generated in place and/or deleted at any time.
|
|
|
|
package dbinfo
|
|
|
|
var RasterColumns = Table[
|
|
rasterColumnColumns,
|
|
rasterColumnIndexes,
|
|
rasterColumnForeignKeys,
|
|
rasterColumnUniques,
|
|
rasterColumnChecks,
|
|
]{
|
|
Schema: "",
|
|
Name: "raster_columns",
|
|
Columns: rasterColumnColumns{
|
|
RTableCatalog: column{
|
|
Name: "r_table_catalog",
|
|
DBType: "name",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
RTableSchema: column{
|
|
Name: "r_table_schema",
|
|
DBType: "name",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
RTableName: column{
|
|
Name: "r_table_name",
|
|
DBType: "name",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
RRasterColumn: column{
|
|
Name: "r_raster_column",
|
|
DBType: "name",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
Srid: column{
|
|
Name: "srid",
|
|
DBType: "integer",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
ScaleX: column{
|
|
Name: "scale_x",
|
|
DBType: "double precision",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
ScaleY: column{
|
|
Name: "scale_y",
|
|
DBType: "double precision",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
BlocksizeX: column{
|
|
Name: "blocksize_x",
|
|
DBType: "integer",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
BlocksizeY: column{
|
|
Name: "blocksize_y",
|
|
DBType: "integer",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
SameAlignment: column{
|
|
Name: "same_alignment",
|
|
DBType: "boolean",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
RegularBlocking: column{
|
|
Name: "regular_blocking",
|
|
DBType: "boolean",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
NumBands: column{
|
|
Name: "num_bands",
|
|
DBType: "integer",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
PixelTypes: column{
|
|
Name: "pixel_types",
|
|
DBType: "text[]",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
NodataValues: column{
|
|
Name: "nodata_values",
|
|
DBType: "double precision[]",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
OutDB: column{
|
|
Name: "out_db",
|
|
DBType: "boolean[]",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
Extent: column{
|
|
Name: "extent",
|
|
DBType: "geometry",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
SpatialIndex: column{
|
|
Name: "spatial_index",
|
|
DBType: "boolean",
|
|
Default: "NULL",
|
|
Comment: "",
|
|
Nullable: true,
|
|
Generated: false,
|
|
AutoIncr: false,
|
|
},
|
|
},
|
|
|
|
Comment: "",
|
|
}
|
|
|
|
type rasterColumnColumns struct {
|
|
RTableCatalog column
|
|
RTableSchema column
|
|
RTableName column
|
|
RRasterColumn column
|
|
Srid column
|
|
ScaleX column
|
|
ScaleY column
|
|
BlocksizeX column
|
|
BlocksizeY column
|
|
SameAlignment column
|
|
RegularBlocking column
|
|
NumBands column
|
|
PixelTypes column
|
|
NodataValues column
|
|
OutDB column
|
|
Extent column
|
|
SpatialIndex column
|
|
}
|
|
|
|
func (c rasterColumnColumns) AsSlice() []column {
|
|
return []column{
|
|
c.RTableCatalog, c.RTableSchema, c.RTableName, c.RRasterColumn, c.Srid, c.ScaleX, c.ScaleY, c.BlocksizeX, c.BlocksizeY, c.SameAlignment, c.RegularBlocking, c.NumBands, c.PixelTypes, c.NodataValues, c.OutDB, c.Extent, c.SpatialIndex,
|
|
}
|
|
}
|
|
|
|
type rasterColumnIndexes struct{}
|
|
|
|
func (i rasterColumnIndexes) AsSlice() []index {
|
|
return []index{}
|
|
}
|
|
|
|
type rasterColumnForeignKeys struct{}
|
|
|
|
func (f rasterColumnForeignKeys) AsSlice() []foreignKey {
|
|
return []foreignKey{}
|
|
}
|
|
|
|
type rasterColumnUniques struct{}
|
|
|
|
func (u rasterColumnUniques) AsSlice() []constraint {
|
|
return []constraint{}
|
|
}
|
|
|
|
type rasterColumnChecks struct{}
|
|
|
|
func (c rasterColumnChecks) AsSlice() []check {
|
|
return []check{}
|
|
}
|