abstract class BasePostgreSQLDriver extends DriverType
Provides some base definitions for PostgreSql databases.
- Alphabetic
- By Inheritance
- BasePostgreSQLDriver
- DriverType
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BasePostgreSQLDriver()
Type Members
-
type
TypeMapFunc = PartialFunction[Int, Int]
- Definition Classes
- DriverType
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
alterAddColumn: String
This defines the syntax for adding a column in an alter.
This defines the syntax for adding a column in an alter. This is used because some DBs (Oracle, for one) use slightly different syntax.
- Definition Classes
- DriverType
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
binaryColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
booleanColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
brokenLimit_?: Boolean
Whether this database supports LIMIT clause in SELECTs.
Whether this database supports LIMIT clause in SELECTs.
- Definition Classes
- DriverType
-
def
clobColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
columnTypeMap: TypeMapFunc
Allow the driver to do specific remapping of column types for cases where not all types are supported.
Allow the driver to do specific remapping of column types for cases where not all types are supported. Classes that want to do custom type mapping for columns should override the customColumnTypeMap method.
- Definition Classes
- DriverType
-
def
createTablePostpend: String
- Definition Classes
- DriverType
-
def
customColumnTypeMap: TypeMapFunc
Allows the Vendor-specific Driver to do custom type mapping for a particular column type.
Allows the Vendor-specific Driver to do custom type mapping for a particular column type.
- Attributes
- protected
- Definition Classes
- DriverType
-
def
dateColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
dateTimeColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
defaultSchemaName: Box[String]
"$user" schema is searched before "public", but it does not exist by default, so "public" is our default choice.
"$user" schema is searched before "public", but it does not exist by default, so "public" is our default choice.
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
doubleColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
enumColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
enumListColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
integerColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
integerIndexColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
longColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
longForeignKeyColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
longIndexColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
maxSelectLimit: String
Maximum value of the LIMIT clause in SELECT.
Maximum value of the LIMIT clause in SELECT.
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
val
name: String
- Definition Classes
- DriverType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
performInsert[T](conn: SuperConnection, query: String, setter: (PreparedStatement) ⇒ Unit, tableName: String, genKeyNames: List[String])(handler: (Either[ResultSet, Int]) ⇒ T): T
Performs an insert and optionally returns the ResultSet of the generated keys that were inserted.
Performs an insert and optionally returns the ResultSet of the generated keys that were inserted. If no keys are specified, return the number of rows updated.
- conn
A connection that the method can optionally use if it needs to execute ancillary statements
- query
The prepared query string to use for the insert
- setter
A function that will set the parameters on the prepared statement
- Definition Classes
- DriverType
-
def
performInsertWithGenKeys[T](conn: SuperConnection, query: String, setter: (PreparedStatement) ⇒ Unit, tableName: String, genKeyNames: List[String], handler: (Either[ResultSet, Int]) ⇒ T): T
- Attributes
- protected
- Definition Classes
- DriverType
-
def
pkDefinedByIndexColumn_?: Boolean
Whether the primary key has been defined by the index column.
Whether the primary key has been defined by the index column.
- Definition Classes
- DriverType
-
def
primaryKeySetup(tableName: String, columnName: String): List[String]
This method can be overriden by DriverType impls to allow for custom setup of Primary Key Columns (creating sequeneces or special indices, for example).
This method can be overriden by DriverType impls to allow for custom setup of Primary Key Columns (creating sequeneces or special indices, for example). The List of commands will be executed in order.
- Definition Classes
- DriverType
-
def
schemifierMustAutoCommit_?: Boolean
This indicates that Schemifier needs to run with a non-transacted connection.
This indicates that Schemifier needs to run with a non-transacted connection. Certain databases require that gathering information on tables (which Schemifier uses for updates) run outside of a transaction.
- Definition Classes
- DriverType
-
def
supportsForeignKeys_?: Boolean
This specifies that the driver supports FKs in tables.
This specifies that the driver supports FKs in tables. Note that to enable FK generation in Schemifier, you also need to set MapperRules.createForeignKeys_? to true before running it.
- Definition Classes
- DriverType
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timeColumnType: String
- Definition Classes
- BasePostgreSQLDriver → DriverType
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
varcharColumnType(len: Int): String
- Definition Classes
- DriverType
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )