Engine

org.beangle.data.jdbc.engine.Engine
See theEngine companion object
trait Engine extends Dialect

RDBMS engine interface It provides type mapping,default schema definition,key words,version etc.

Attributes

Companion
object
Graph
Supertypes
trait Dialect
class Object
trait Matchable
class Any
Known subtypes
class DB2V8
class Derby10
class H2
class MySQL5
class Oracle10g
class Oracle12c
class PostgreSQL10
Show all

Members list

Value members

Abstract methods

def catalogAsSchema: Boolean
def convert(sqlType: SqlType, value: String): Option[String]
def defaultSchema: String
def keywords: Set[String]
def name: String
def quoteChars: (Char, Char)
def supportBoolean: Boolean
def systemSchemas: Seq[String]
def toType(typeName: String): SqlType
def toType(sqlCode: Int): SqlType
def toType(sqlCode: Int, precision: Int): SqlType
def toType(sqlCode: Int, precision: Int, scale: Int): SqlType

Concrete methods

def needQuote(name: String): Boolean
def quote(name: String): String
def resolveCode(typeCode: Int, typeName: String): Int

resolve all driver typecodes to jdbc typecodes

resolve all driver typecodes to jdbc typecodes

Attributes

def toIdentifier(literal: String): Identifier
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

Attributes

Inherited from:
Dialect
def commentOnColumn(table: Table, column: Column, comment: Option[String]): Option[String]

Attributes

Inherited from:
Dialect
def commentOnTable(table: String, comment: Option[String]): Option[String]

Attributes

Inherited from:
Dialect
def commentsOnTable(table: Table, includeMissing: Boolean): List[String]

Attributes

Inherited from:
Dialect
def createIndex(i: Index): String

Attributes

Inherited from:
Dialect
def createSchema(name: String): String

Attributes

Inherited from:
Dialect
def createSequence(seq: Sequence): String

Attributes

Inherited from:
Dialect
def createTable(table: Table): String

Attributes

Inherited from:
Dialect
def dropIndex(i: Index): String

Attributes

Inherited from:
Dialect
def dropSequence(seq: Sequence): String

Attributes

Inherited from:
Dialect
def dropTable(table: String): String

Attributes

Inherited from:
Dialect
def insert(table: Table): String

Attributes

Inherited from:
Dialect
def limit(query: String, offset: Int, limit: Int): (String, List[Int])

generate limit sql

generate limit sql

Value parameters

offset

is 0 based

Attributes

Inherited from:
Dialect
def query(table: Table): String

Attributes

Inherited from:
Dialect
def supportSequence: Boolean

Attributes

Inherited from:
Dialect
def truncate(table: Table): String

Attributes

Inherited from:
Dialect