Top Fields Constructors Methods
liquibase.snapshot.jvm

public Class ColumnSnapshotGeneratorH2

extends ColumnSnapshotGenerator
Class Inheritance
Imports
liquibase.database.Database, liquibase.database.core.H2Database, liquibase.snapshot.CachedRow, .SnapshotGenerator, liquibase.statement.DatabaseFunction, liquibase.structure.DatabaseObject, liquibase.structure.core.Column

Field Summary

Inherited from liquibase.snapshot.jvm.ColumnSnapshotGenerator:
COLUMN_DEF_COL

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getPriority(Class<? extends DatabaseObject>
The object type we are asked to snapshot
objectType
,
Database
The DBMS for which the snapshotting should be done
database
)

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.getPriority.

Implements liquibase.snapshot.SnapshotGenerator.getPriority.

Inquire if this SnapshotGenerator is capable of snapshotting objects of type objectType (e.g. Table, Index, View etc.) in the DBMS database (e.g. Oracle, Postgres, HyperSQL etc.) A return priority of > 0 will be interpreted as capable.

protected Object
public Class<? extends SnapshotGenerator>[]
replaces()

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.replaces.

Implements liquibase.snapshot.SnapshotGenerator.replaces.

Returns classes (and superclasses) that this SnapshotGenerator replaces.

Inherited from liquibase.snapshot.jvm.ColumnSnapshotGenerator:
addToreadColumnreadDataTypesetAutoIncrementDetailssnapshotObject

Constructor Detail

ColumnSnapshotGeneratorH2back to summary
public ColumnSnapshotGeneratorH2()

Method Detail

getPriorityback to summary
public int getPriority(Class<? extends DatabaseObject> objectType, Database database)

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.getPriority.

Implements liquibase.snapshot.SnapshotGenerator.getPriority.

Doc from liquibase.snapshot.SnapshotGenerator.getPriority.

Inquire if this SnapshotGenerator is capable of snapshotting objects of type objectType (e.g. Table, Index, View etc.) in the DBMS database (e.g. Oracle, Postgres, HyperSQL etc.) A return priority of > 0 will be interpreted as capable. The highest priority for an objectType-database combination wins.

Parameters
objectType:Class<? extends DatabaseObject>

The object type we are asked to snapshot

database:Database

The DBMS for which the snapshotting should be done

Returns:int

An integer of PRIORITY_... constants indicating our capability and willingness to snapshot

Annotations
@Override
readDefaultValueback to summary
protected Object readDefaultValue(CachedRow columnMetadataResultSet, Column columnInfo, Database database)

Overrides liquibase.snapshot.jvm.ColumnSnapshotGenerator.readDefaultValue.

Annotations
@Override
replacesback to summary
public Class<? extends SnapshotGenerator>[] replaces()

Overrides liquibase.snapshot.jvm.JdbcSnapshotGenerator.replaces.

Implements liquibase.snapshot.SnapshotGenerator.replaces.

Doc from liquibase.snapshot.SnapshotGenerator.replaces.

Returns classes (and superclasses) that this SnapshotGenerator replaces. Return null or empty array to not affect the SnapshotGeneratorChain.

Annotations
@Override