object MySqlDialect extends SqlDialect with Product with Serializable
- Alphabetic
- By Inheritance
- MySqlDialect
- Serializable
- Serializable
- Product
- Equals
- SqlDialect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
commit(): String
Returns a
COMMITSQL StatementReturns a
COMMITSQL Statement- Definition Classes
- MySqlDialect → SqlDialect
-
def
createTable(name: String, columns: List[(String, DataType)], schemaName: Option[String]): String
Returns a complete
CREATE TABLESQL statementReturns a complete
CREATE TABLESQL statement- name
the table name
- columns
a list of column tuples where each tuple is a column name and edu.chop.dataExpress.dataModels.sql.DataType
- schemaName
the schema where the table will be created
- Definition Classes
- MySqlDialect → SqlDialect
-
def
dropTable(name: String, cascade: Boolean = false, schemaName: Option[String] = None): String
Returns a complete
DROP TABLESQL StatementReturns a complete
DROP TABLESQL Statement- name
The name of the table
- cascade
Indicates whether the cascade option should be used (by default it is not)
- schemaName
The schema where the table should be dropped
- Definition Classes
- MySqlDialect → SqlDialect
-
def
endTransaction(): String
Returns an end SQL transaction statement
Returns an end SQL transaction statement
- Definition Classes
- MySqlDialect → SqlDialect
-
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
- Annotations
- @native()
- val identifierQuote: String
-
def
insertRecord(tableName: String, columnNames: List[String], schemaName: Option[String] = None): String
Returns an
INSERTstatement (where the values to be inserted are placeholder variables to be assigned during JDBC prepared statement constructionReturns an
INSERTstatement (where the values to be inserted are placeholder variables to be assigned during JDBC prepared statement construction- tableName
The name of the table where the insert will be applied
- columnNames
A list of the column names to use when performing the insert
- schemaName
The schema where the table is located
- Definition Classes
- MySqlDialect → SqlDialect
- val insertStatement: String
- val insertValues: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapDataTypes(column_names: Seq[String], meta: ResultSetMetaData): Seq[Product with Serializable with DataType]
Returns the DataExpress edu.chop.cbmi.dataExpress.dataModels.DataType values for columns in a JDBC
ResultSetReturns the DataExpress edu.chop.cbmi.dataExpress.dataModels.DataType values for columns in a JDBC
ResultSet- column_names
A sequence of column names
- meta
JDBC
ResultSetmetadata
- Definition Classes
- SqlDialect
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
quoteIdentifier(id: String): String
Returns a database identifier (such as a table or column name) using the proper quote format.
Returns a database identifier (such as a table or column name) using the proper quote format. Note that in some databases it is considered an error to quote non-system strings, so this method should carefully implement this logic if necessary.
- id
The identifier that must be returned quoted
- Definition Classes
- MySqlDialect → SqlDialect
-
def
rollback(): String
Returns a
ROLLBACKSQL statementReturns a
ROLLBACKSQL statement- Definition Classes
- MySqlDialect → SqlDialect
-
def
startTransaction(): String
Returns a start SQL transaction statement
Returns a start SQL transaction statement
- Definition Classes
- MySqlDialect → SqlDialect
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tableCascade: String
- val tableCreate: String
- val tableDrop: String
- val tableTruncate: String
-
def
toSqlString(dataType: DataType): String
Returns the database-appropriate SQL type representation of a edu.chop.cbmi.dataExpress.dataModels.DataType
Returns the database-appropriate SQL type representation of a edu.chop.cbmi.dataExpress.dataModels.DataType
- Definition Classes
- MySqlDialect → SqlDialect
- val transactionCommit: String
- val transactionEnd: String
- val transactionRollback: String
- val transactionStart: String
-
def
truncate(table: String, schemaName: Option[String] = None): String
Returns a complete
TRUNCATE TABLESQL StatementReturns a complete
TRUNCATE TABLESQL Statement- table
The name of the table to truncate
- schemaName
The schema where the table should be truncated
- Definition Classes
- MySqlDialect → SqlDialect
-
def
updateRecords(tableName: String, columnNames: List[String], filter: List[(String, Any)], schemaName: Option[String] = None): String
Returns a SQL
UPDATEstatement that using a filter on table values.Returns a SQL
UPDATEstatement that using a filter on table values. In order to allow specificity, the user passes in a list of (columnName,value) filters. The expected behavior is that these tuples get converted into theWHEREclause. For example:List(("id",12345),("type","Luggage Combination"))
passed in as a filter is converted to the SQL
WHERE id = 12345 AND type = 'Luggage Combination'- tableName
The name of the table where the update will be applied
- columnNames
The list of column names to be updated
- filter
A list of (
columnName,value) tuples to be used when constructing theWHEREclause
- Definition Classes
- MySqlDialect → SqlDialect
-
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
- @native() @throws( ... )