TileColumn models columns in [user tile pyramid tables]TileTable.

Hierarchy

Constructors

Properties

AUTOINCREMENT_CONSTRAINT_ORDER: 4 = 4

Autoincrement Constraint Order

COLUMN_ID: string = 'id'
COLUMN_TILE_COLUMN: string = 'tile_column'
COLUMN_TILE_DATA: string = 'tile_data'
COLUMN_TILE_ROW: string = 'tile_row'
COLUMN_ZOOM_LEVEL: string = 'zoom_level'
DEFAULT_VALUE_CONSTRAINT_ORDER: 2 = 2

Default Value Constraint Order

NOT_NULL_CONSTRAINT_ORDER: 1 = 1

Not Null Constraint Order

NO_INDEX: -1 = -1

User Column index value

PRIMARY_KEY_CONSTRAINT_ORDER: 3 = 3

Primary Key Constraint Order

UNIQUE_CONSTRAINT_ORDER: 5 = 5

Unique Constraint Order

Methods

  • Determine if this column is named the provided name

    Returns

    true if named the provided name

    Parameters

    • name: string

      column name

    Returns boolean

  • Create an id column with the specified column index

    Parameters

    • index: number = TileColumn.NO_INDEX

      Index

    • autoincrement: boolean = UserTableDefaults.DEFAULT_AUTOINCREMENT

      Autoincrement

    Returns TileColumn

Generated using TypeDoc