org.jooq.util.sqlite
Class SQLiteDatabase

java.lang.Object
  extended by org.jooq.util.AbstractDatabase
      extended by org.jooq.util.sqlite.SQLiteDatabase
All Implemented Interfaces:
Database

public class SQLiteDatabase
extends AbstractDatabase

SQLite implementation of AbstractDatabase

Author:
Lukas Eder

Constructor Summary
SQLiteDatabase()
           
 
Method Summary
 org.jooq.impl.Factory create()
          Create the factory for this database
protected  List<ArrayDefinition> getArrays0()
          Retrieve ALL ARRAYs from the database.
protected  List<EnumDefinition> getEnums0()
          Retrieve ALL enum UDTs from the database.
protected  List<PackageDefinition> getPackages0()
          Retrieve ALL packages from the database.
protected  List<RoutineDefinition> getRoutines0()
          Retrieve ALL stored routines (functions and procedures) from the database.
protected  List<SequenceDefinition> getSequences0()
          Retrieve ALL sequences from the database.
protected  List<TableDefinition> getTables0()
          Retrieve ALL tables from the database.
protected  List<UDTDefinition> getUDTs0()
          Retrieve ALL UDTs from the database.
protected  void loadForeignKeys(DefaultRelations relations)
          Retrieve foreign keys and store them to relations.
protected  void loadPrimaryKeys(DefaultRelations relations)
          Retrieve primary keys and store them to relations
protected  void loadUniqueKeys(DefaultRelations r)
          Retrieve non-primary unique keys and store them to relations
 
Methods inherited from class org.jooq.util.AbstractDatabase
dateAsTimestamp, getArray, getArray, getArrays, getConfiguredCustomType, getConfiguredCustomTypes, getConfiguredEnumTypes, getConfiguredForcedType, getConfiguredForcedTypes, getConfiguredMasterDataTables, getConnection, getDataTypeForMAX_VAL, getDialect, getEnum, getEnum, getEnums, getExcludes, getIncludes, getInputSchemata, getMasterDataTable, getMasterDataTable, getMasterDataTables, getOutputSchema, getPackages, getRelations, getRelations0, getRoutines, getSchema, getSchemata, getSequences, getTable, getTable, getTables, getUDT, getUDT, getUDTs, isArrayType, setConfiguredCustomTypes, setConfiguredEnumTypes, setConfiguredForcedTypes, setConfiguredMasterDataTables, setConfiguredSchemata, setConnection, setDateAsTimestamp, setExcludes, setIncludes, setSupportsUnsignedTypes, supportsUnsignedTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLiteDatabase

public SQLiteDatabase()
Method Detail

create

public org.jooq.impl.Factory create()
Description copied from interface: Database
Create the factory for this database


loadPrimaryKeys

protected void loadPrimaryKeys(DefaultRelations relations)
                        throws SQLException
Description copied from class: AbstractDatabase
Retrieve primary keys and store them to relations

Specified by:
loadPrimaryKeys in class AbstractDatabase
Throws:
SQLException

loadUniqueKeys

protected void loadUniqueKeys(DefaultRelations r)
                       throws SQLException
Description copied from class: AbstractDatabase
Retrieve non-primary unique keys and store them to relations

Specified by:
loadUniqueKeys in class AbstractDatabase
Throws:
SQLException

loadForeignKeys

protected void loadForeignKeys(DefaultRelations relations)
                        throws SQLException
Description copied from class: AbstractDatabase
Retrieve foreign keys and store them to relations. Unique keys are already loaded.

Specified by:
loadForeignKeys in class AbstractDatabase
Throws:
SQLException

getSequences0

protected List<SequenceDefinition> getSequences0()
                                          throws SQLException
Description copied from class: AbstractDatabase
Retrieve ALL sequences from the database. This will be filtered in AbstractDatabase.getTables(SchemaDefinition)

Specified by:
getSequences0 in class AbstractDatabase
Throws:
SQLException

getTables0

protected List<TableDefinition> getTables0()
                                    throws SQLException
Description copied from class: AbstractDatabase
Retrieve ALL tables from the database. This will be filtered in AbstractDatabase.getTables(SchemaDefinition)

Specified by:
getTables0 in class AbstractDatabase
Throws:
SQLException

getRoutines0

protected List<RoutineDefinition> getRoutines0()
                                        throws SQLException
Description copied from class: AbstractDatabase
Retrieve ALL stored routines (functions and procedures) from the database. This will be filtered in AbstractDatabase.getRoutines(SchemaDefinition)

Specified by:
getRoutines0 in class AbstractDatabase
Throws:
SQLException

getPackages0

protected List<PackageDefinition> getPackages0()
                                        throws SQLException
Description copied from class: AbstractDatabase
Retrieve ALL packages from the database. This will be filtered in AbstractDatabase.getPackages(SchemaDefinition)

Specified by:
getPackages0 in class AbstractDatabase
Throws:
SQLException

getEnums0

protected List<EnumDefinition> getEnums0()
                                  throws SQLException
Description copied from class: AbstractDatabase
Retrieve ALL enum UDTs from the database. This will be filtered in AbstractDatabase.getEnums(SchemaDefinition)

Specified by:
getEnums0 in class AbstractDatabase
Throws:
SQLException

getUDTs0

protected List<UDTDefinition> getUDTs0()
                                throws SQLException
Description copied from class: AbstractDatabase
Retrieve ALL UDTs from the database. This will be filtered in AbstractDatabase.getEnums(SchemaDefinition)

Specified by:
getUDTs0 in class AbstractDatabase
Throws:
SQLException

getArrays0

protected List<ArrayDefinition> getArrays0()
                                    throws SQLException
Description copied from class: AbstractDatabase
Retrieve ALL ARRAYs from the database. This will be filtered in AbstractDatabase.getArrays(SchemaDefinition)

Specified by:
getArrays0 in class AbstractDatabase
Throws:
SQLException


Copyright © 2012. All Rights Reserved.