org
.
scalarelational
.
mapper
MappedTable
Related Doc:
package mapper
abstract
class
MappedTable
[
MappedType
]
extends
Table
Linear Supertypes
Table
,
TablePropertyContainer
,
PropertyContainer
[
TableProperty
],
DataTypeSupport
,
SQLContainer
,
Joinable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
MappedTable
Table
TablePropertyContainer
PropertyContainer
DataTypeSupport
SQLContainer
Joinable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
MappedTable
(
name:
String
,
tableProperties:
TableProperty
*
)
(
implicit
ds:
Datastore
)
Abstract Value Members
abstract
def
query
:
Query
[
Vector
[
SelectExpression
[_]],
MappedType
]
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
*
:
List
[
Column
[_, _]]
Definition Classes
Table
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
afterInvoke
(
delete:
Delete
)
:
Unit
Attributes
protected
Definition Classes
SQLContainer
def
afterInvoke
[
T
]
(
update:
Update
[
T
]
)
:
Unit
Attributes
protected
Definition Classes
SQLContainer
def
afterInvoke
(
merge:
Merge
)
:
Unit
Attributes
protected
Definition Classes
SQLContainer
def
afterInvoke
(
insert:
InsertMultiple
)
:
Unit
Attributes
protected
Definition Classes
SQLContainer
def
afterInvoke
[
T
]
(
insert:
InsertSingle
[
T
]
)
:
Unit
Attributes
protected
Definition Classes
SQLContainer
def
afterInvoke
[
E
,
R
]
(
query:
Query
[
E
,
R
]
)
:
Unit
Attributes
protected
Definition Classes
SQLContainer
def
allFields
(
tpe:
Class
[_]
)
:
Seq
[
Field
]
Attributes
protected[
org.scalarelational
]
Definition Classes
Table
def
as
(
alias:
String
)
:
TableAlias
Definition Classes
Table
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
lazy val
autoIncrement
:
Option
[
Column
[_, _]]
Definition Classes
Table
def
beforeInvoke
(
delete:
Delete
)
:
Delete
Attributes
protected
Definition Classes
SQLContainer
def
beforeInvoke
[
T
]
(
update:
Update
[
T
]
)
:
Update
[
T
]
Attributes
protected
Definition Classes
SQLContainer
def
beforeInvoke
(
merge:
Merge
)
:
Merge
Attributes
protected
Definition Classes
SQLContainer
def
beforeInvoke
(
insert:
InsertMultiple
)
:
InsertMultiple
Attributes
protected
Definition Classes
SQLContainer
def
beforeInvoke
[
T
]
(
insert:
InsertSingle
[
T
]
)
:
InsertSingle
[
T
]
Attributes
protected
Definition Classes
SQLContainer
def
beforeInvoke
[
E
,
R
]
(
query:
Query
[
E
,
R
]
)
:
Query
[
E
,
R
]
Attributes
protected
Definition Classes
SQLContainer
implicit
def
bigDecimalType
:
SimpleDataType
[
BigDecimal
]
Definition Classes
DataTypeSupport
implicit
def
blobType
:
SimpleDataType
[
Blob
]
Definition Classes
DataTypeSupport
implicit
def
booleanType
:
SimpleDataType
[
Boolean
]
Definition Classes
DataTypeSupport
def
by
[
T
,
S
]
(
column:
Column
[
T
,
S
]
,
value:
T
)
(
implicit
manifest:
Manifest
[
MappedType
]
,
session:
Session
)
:
Option
[
MappedType
]
implicit
def
byteArrayType
:
SimpleDataType
[
Array
[
Byte
]]
Definition Classes
DataTypeSupport
def
calling
(
instructionType:
InstructionType
,
sql:
String
)
:
Unit
Attributes
protected
Definition Classes
SQLContainer
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
column
[
T
,
S
]
(
name:
String
,
dataType:
DataType
[
T
,
S
]
,
properties:
ColumnProperty
*
)
:
Column
[
T
,
S
]
Definition Classes
Table
def
column
[
T
,
S
]
(
name:
String
,
properties:
ColumnProperty
*
)
(
implicit
dataType:
DataType
[
T
,
S
]
)
:
Column
[
T
,
S
]
Definition Classes
Table
def
column
[
T
]
(
name:
String
,
dataType:
SimpleDataType
[
T
]
,
properties:
ColumnProperty
*
)
:
Column
[
T
,
T
]
Definition Classes
Table
def
column
[
T
]
(
name:
String
,
properties:
ColumnProperty
*
)
(
implicit
dataType:
SimpleDataType
[
T
]
)
:
Column
[
T
,
T
]
Definition Classes
Table
def
columns
:
List
[
Column
[_, _]]
Definition Classes
Table
def
columnsByName
[
T
,
S
]
(
names:
String
*
)
:
Seq
[
Column
[
T
,
S
]]
Definition Classes
Table
implicit
val
datastore
:
Datastore
Definition Classes
Table
implicit
def
doubleType
:
SimpleDataType
[
Double
]
Definition Classes
DataTypeSupport
implicit
val
ds
:
Datastore
implicit
def
enum
[
T <:
EnumEntry
]
(
implicit
enumeration:
Enum
[
T
]
,
manifest:
Manifest
[
T
]
)
:
DataType
[
T
,
String
]
Definition Classes
DataTypeSupport
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
fieldName
(
column:
Column
[_, _]
)
:
String
Attributes
protected[
org.scalarelational
]
Definition Classes
Table
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
lazy val
foreignKeys
:
List
[
Column
[_, _]]
Definition Classes
Table
final
def
get
[
T <:
TableProperty
]
(
propertyName:
String
)
:
Option
[
T
]
Definition Classes
PropertyContainer
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getColumn
[
T
,
S
]
(
name:
String
)
:
Option
[
Column
[
T
,
S
]]
Definition Classes
Table
def
getColumnByField
[
T
,
S
]
(
name:
String
)
:
Option
[
Column
[
T
,
S
]]
Definition Classes
Table
final
def
has
(
propertyName:
String
)
:
Boolean
Definition Classes
PropertyContainer
final
def
has
(
property:
TableProperty
)
:
Boolean
Definition Classes
PropertyContainer
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
implicit
def
intType
:
SimpleDataType
[
Int
]
Definition Classes
DataTypeSupport
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
implicit
def
longTimestampType
:
DataType
[
Long
,
Timestamp
]
Definition Classes
DataTypeSupport
implicit
def
longType
:
SimpleDataType
[
Long
]
Definition Classes
DataTypeSupport
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
implicit
def
option
[
T
,
S
]
(
implicit
dataType:
DataType
[
T
,
S
]
)
:
DataType
[
Option
[
T
],
S
]
Definition Classes
DataTypeSupport
def
primaryKey
:
Column
[_, _]
Definition Classes
Table
lazy val
primaryKeys
:
List
[
Column
[_, _]]
Definition Classes
Table
final
def
prop
[
T <:
TableProperty
]
(
propertyName:
String
)
:
T
Definition Classes
PropertyContainer
def
properties
:
Map
[
String
,
TableProperty
]
Definition Classes
PropertyContainer
def
props
(
properties:
TableProperty
*
)
:
PropertyContainer
[
TableProperty
]
Definition Classes
PropertyContainer
lazy val
q
:
Query
[
Vector
[
SelectExpression
[_]],
QueryResult
]
Definition Classes
Table
def
ref
:
ColumnLike
[
Ref
[
MappedType
],
Int
]
implicit
def
reference
[
T
]
:
DataType
[
Ref
[
T
],
Int
]
Definition Classes
DataTypeSupport
implicit
def
stringType
:
SimpleDataType
[
String
]
Definition Classes
DataTypeSupport
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tableName
:
String
Definition Classes
Table
implicit
def
thisTable
:
Table
Definition Classes
Table
implicit
def
timestampType
:
SimpleDataType
[
Timestamp
]
Definition Classes
DataTypeSupport
def
toString
()
:
String
Definition Classes
Table → 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
(
...
)
Inherited from
Table
Inherited from
TablePropertyContainer
Inherited from
PropertyContainer
[
TableProperty
]
Inherited from
DataTypeSupport
Inherited from
SQLContainer
Inherited from
Joinable
Inherited from
AnyRef
Inherited from
Any
Ungrouped