Packages

c

in.norbor.yoda.orm

PStatement

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
Serializable, Serializable, Product, Equals, BinaryType, DateTimeType, TimestampType, StringType, DoubleType, LongType, IntType, BooleanType, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PStatement
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BinaryType
  7. DateTimeType
  8. TimestampType
  9. StringType
  10. DoubleType
  11. LongType
  12. IntType
  13. BooleanType
  14. LazyLogging
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PStatement(sql: String)(implicit conn: Connection)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addBatch(): PStatement
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def count: PStatement
    Attributes
    protected
    Definition Classes
    PStatementBinaryTypeDateTimeTypeTimestampTypeStringTypeDoubleTypeLongTypeIntTypeBooleanType
  8. def createBlob: Blob
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def executeBatch: Array[Int]
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def index: Int
    Attributes
    protected
    Definition Classes
    PStatementBinaryTypeDateTimeTypeTimestampTypeStringTypeDoubleTypeLongTypeIntTypeBooleanType
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def pstmt: PreparedStatement
    Attributes
    protected
    Definition Classes
    PStatementBinaryTypeDateTimeTypeTimestampTypeStringTypeDoubleTypeLongTypeIntTypeBooleanType
  20. def query: ResultSet
  21. def queryLimit[A](max: Int, block: (ResultSet) ⇒ A)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
  22. def queryLimit[A](max: Int)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
  23. def queryList[A](block: (ResultSet) ⇒ A): List[A]
  24. def queryList[A](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
  25. def queryOne[A](block: (ResultSet) ⇒ A): Option[A]
  26. def queryOne[A](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): Option[A]
  27. 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

  28. 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

  29. def setBlob(param: Blob): PStatement
    Definition Classes
    BinaryType
  30. def setBoolean(param: Boolean): PStatement
    Definition Classes
    BooleanType
  31. def setBytes(param: Array[Byte]): PStatement
    Definition Classes
    BinaryType
  32. def setDateTime(param: DateTime): PStatement
    Definition Classes
    DateTimeType
  33. def setDouble(param: Double): PStatement
    Definition Classes
    DoubleType
  34. def setInt(param: Int): PStatement
    Definition Classes
    IntType
  35. def setJBoolean(param: JBoolean): PStatement
    Definition Classes
    BooleanType
  36. def setJDouble(param: JDouble): PStatement
    Definition Classes
    DoubleType
  37. def setJInt(param: JInt): PStatement
    Definition Classes
    IntType
  38. def setJLong(param: JLong): PStatement
    Definition Classes
    LongType
  39. def setLong(param: Long): PStatement
    Definition Classes
    LongType
  40. def setString(param: String): PStatement
    Definition Classes
    StringType
  41. def setTimestamp(param: Timestamp): PStatement
    Definition Classes
    TimestampType
  42. val sql: String
  43. val stmt: PreparedStatement
    Attributes
    protected
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def update: Int
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BinaryType

Inherited from DateTimeType

Inherited from TimestampType

Inherited from StringType

Inherited from DoubleType

Inherited from LongType

Inherited from IntType

Inherited from BooleanType

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped