sealed trait BatchSql extends AnyRef
SQL batch
- Alphabetic
- By Inheritance
- BatchSql
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
names: Set[String]
Names of parameter expected for each parameter map
-
abstract
def
params: Seq[Map[String, ParameterValue]]
Named parameters
-
abstract
def
sql: SqlQuery
SQL query
Concrete 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
addBatchParams(args: ParameterValue*): BatchSql
Adds a parameter map, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder).
Adds a parameter map, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder). If parameter is used for more than one placeholder, it will result in a parameter map with smaller size than given arguments (as duplicate entry are removed from map).
- Annotations
- @throws( BatchSqlErrors.MissingParameter ) @throws( ... )
-
def
addBatchParamsList(args: Traversable[Seq[ParameterValue]]): BatchSql
Adds a parameter maps, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder).
Adds a parameter maps, created by zipping values with query placeholders (SqlQuery.paramsInitialOrder). If parameter is used for more than one placeholder, it will result in parameter maps with smaller size than given arguments (as duplicate entry are removed from map).
- Annotations
- @throws( BatchSqlErrors.MissingParameter ) @throws( ... )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bind[T](args: T*)(implicit converter: ToParameterList[T]): BatchSql
Adds arguments of type
T
that can be converted as query parameters.Adds arguments of type
T
that can be converted as query parameters.- Annotations
- @throws( BatchSqlErrors.MissingParameter ) @throws( ... )
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def execute()(implicit connection: Connection): Array[Int]
-
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()
-
def
getFilledStatement(connection: Connection, getGeneratedKeys: Boolean = false): PreparedStatement
- Annotations
- @SuppressWarnings()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @native() @throws( ... )
-
def
withFetchSize(count: Option[Int]): BatchSql
Returns this query with the fetch suze updated to the row
count
.Returns this query with the fetch suze updated to the row
count
.- See also
-
def
withQueryTimeout(seconds: Option[Int]): BatchSql
Returns this query with the timeout updated to
seconds
delay.Returns this query with the timeout updated to
seconds
delay.- See also