class Sql extends AutoCloseable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Sql
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Sql(connection: Connection)
- Attributes
- protected
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 call(sql: String, params: Seq[Any]): Int
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
close(): Unit
- Definition Classes
- Sql → AutoCloseable
- val connection: Connection
- def eachRow(rs: ResultSet, offset: Int, maxRows: Int, rowHandler: (ResultSet) ⇒ Any, metaDataHandler: (ResultSetMetaData) ⇒ Any): Unit
- def eachRow(sql: String, params: Seq[Any], offset: Int, maxRows: Int, rowHandler: (ResultSet) ⇒ Any, metaDataHandler: (ResultSetMetaData) ⇒ Any = null): Unit
- def eachRow(tableName: String, selectFields: Map[String, String], filter: Map[String, Any], rowHandler: (ResultSet) ⇒ Any): Unit
- def eachRow(tableName: String, selectFields: Seq[String], filter: Map[String, Any], rowHandler: (ResultSet) ⇒ Any): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def execute(sql: String, params: Seq[Any]): Boolean
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def firstRow(sql: String, params: Seq[Any]): Map[String, Any]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newIn(sqlType: Int, value: Any): InParameter
- def newInOut(sqlType: Int, value: Any): InOutParameter
- def newOut(sqlType: Int, value: Any): OutParameter
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def prepareSql(tableName: String, selectFields: Map[String, String], filter: Map[String, Any]): (String, Seq[Any])
- def prepareSql(tableName: String, selectFields: Seq[String], filter: Map[String, Any]): (String, Seq[Any])
- def prepareStatement(sql: String, params: Seq[Any]): PreparedStatement
- def prepareWhere(sb: StringBuilder, filter: Map[String, Any]): Seq[Any]
- def rows(sql: String, params: Seq[Any], offset: Int, maxRows: Int, metaDataHandler: (ResultSetMetaData) ⇒ Any = null): Seq[Map[String, Any]]
- def setParameterValue(statement: PreparedStatement, i: Int, value: Any): Unit
- def setParameters(statement: PreparedStatement, params: Seq[Any]): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toSeq(rs: ResultSet, offset: Int, maxRows: Int, metaDataHandler: (ResultSetMetaData) ⇒ Any): Seq[Map[String, Any]]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )