org
.
scalarelational
.
table
Table
Related Docs:
object Table
|
package table
abstract
class
Table
extends
Joinable
with
SQLContainer
with
DataTypeSupport
with
TablePropertyContainer
Linear Supertypes
TablePropertyContainer
,
PropertyContainer
[
TableProperty
],
DataTypeSupport
,
SQLContainer
,
Joinable
,
AnyRef
,
Any
Known Subclasses
LinkingTable
,
persistentProperties
Ordering
Alphabetic
By Inheritance
Inherited
Table
TablePropertyContainer
PropertyContainer
DataTypeSupport
SQLContainer
Joinable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Table
(
tableName:
String
,
tableProperties:
TableProperty
*
)
(
implicit
datastore:
Datastore
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
*
:
List
[
Column
[_, _]]
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
]
def
as
(
alias:
String
)
:
TableAlias
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
lazy val
autoIncrement
:
Option
[
Column
[_, _]]
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
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
]
def
column
[
T
,
S
]
(
name:
String
,
properties:
ColumnProperty
*
)
(
implicit
dataType:
DataType
[
T
,
S
]
)
:
Column
[
T
,
S
]
def
column
[
T
]
(
name:
String
,
dataType:
SimpleDataType
[
T
]
,
properties:
ColumnProperty
*
)
:
Column
[
T
,
T
]
def
column
[
T
]
(
name:
String
,
properties:
ColumnProperty
*
)
(
implicit
dataType:
SimpleDataType
[
T
]
)
:
Column
[
T
,
T
]
def
columns
:
List
[
Column
[_, _]]
def
columnsByName
[
T
,
S
]
(
names:
String
*
)
:
Seq
[
Column
[
T
,
S
]]
implicit
val
datastore
:
Datastore
implicit
def
doubleType
:
SimpleDataType
[
Double
]
Definition Classes
DataTypeSupport
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
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
lazy val
foreignKeys
:
List
[
Column
[_, _]]
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
]]
def
getColumnByField
[
T
,
S
]
(
name:
String
)
:
Option
[
Column
[
T
,
S
]]
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
[_, _]
lazy val
primaryKeys
:
List
[
Column
[_, _]]
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
]
Adds the supplied properties to this container.
Adds the supplied properties to this container.
properties
the properties to add
returns
this
Definition Classes
PropertyContainer
lazy val
q
:
Query
[
Vector
[
SelectExpression
[_]],
QueryResult
]
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
implicit
def
thisTable
:
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
TablePropertyContainer
Inherited from
PropertyContainer
[
TableProperty
]
Inherited from
DataTypeSupport
Inherited from
SQLContainer
Inherited from
Joinable
Inherited from
AnyRef
Inherited from
Any
Ungrouped