case class PStatement(sql: String)(implicit conn: Connection) extends LazyLogging with BooleanType with IntType with LongType with DoubleType with StringType with TimestampType with DateTimeType with BinaryType with Product with Serializable
Created by Peerapat A on Feb 5, 2017
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PStatement
- Serializable
- Serializable
- Product
- Equals
- BinaryType
- DateTimeType
- TimestampType
- StringType
- DoubleType
- LongType
- IntType
- BooleanType
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PStatement(sql: String)(implicit conn: Connection)
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 addBatch(): PStatement
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
count: PStatement
- Attributes
- protected
- Definition Classes
- PStatement → BinaryType → DateTimeType → TimestampType → StringType → DoubleType → LongType → IntType → BooleanType
- def createBlob: Blob
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def executeBatch: 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
index: Int
- Attributes
- protected
- Definition Classes
- PStatement → BinaryType → DateTimeType → TimestampType → StringType → DoubleType → LongType → IntType → BooleanType
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
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
pstmt: PreparedStatement
- Attributes
- protected
- Definition Classes
- PStatement → BinaryType → DateTimeType → TimestampType → StringType → DoubleType → LongType → IntType → BooleanType
- def query: ResultSet
- def queryLimit[A](max: Int, block: (ResultSet) ⇒ A)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- def queryLimit[A](max: Int)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- def queryList[A](block: (ResultSet) ⇒ A): List[A]
- def queryList[A](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- def queryOne[A](block: (ResultSet) ⇒ A): Option[A]
- def queryOne[A](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): Option[A]
-
def
queryRange[A](offset: Int, length: Int, block: (ResultSet) ⇒ A)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- offset
is counter of list start from 0
- length
is size of return record
-
def
queryRange[A](offset: Int, length: Int)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- offset
is counter of list start from 0
- length
is size of return record
-
def
setBlob(param: Blob): PStatement
- Definition Classes
- BinaryType
-
def
setBoolean(param: Boolean): PStatement
- Definition Classes
- BooleanType
-
def
setBytes(param: Array[Byte]): PStatement
- Definition Classes
- BinaryType
-
def
setDateTime(param: DateTime): PStatement
- Definition Classes
- DateTimeType
-
def
setDouble(param: Double): PStatement
- Definition Classes
- DoubleType
-
def
setInt(param: Int): PStatement
- Definition Classes
- IntType
-
def
setJBoolean(param: JBoolean): PStatement
- Definition Classes
- BooleanType
-
def
setJDouble(param: JDouble): PStatement
- Definition Classes
- DoubleType
-
def
setJInt(param: JInt): PStatement
- Definition Classes
- IntType
-
def
setJLong(param: JLong): PStatement
- Definition Classes
- LongType
-
def
setLong(param: Long): PStatement
- Definition Classes
- LongType
-
def
setString(param: String): PStatement
- Definition Classes
- StringType
-
def
setTimestamp(param: Timestamp): PStatement
- Definition Classes
- TimestampType
- val sql: String
-
val
stmt: PreparedStatement
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def update: Int
-
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( ... )