org
.
scalarelational
.
instruction
Query
Related Doc:
package instruction
case class
Query
[
Types
,
Result
]
(
expressions:
SelectExpressions
[
Types
]
,
table:
Table
,
joins:
List
[
Join
] =
Nil
,
whereCondition:
Option
[
Condition
] =
None
,
grouping:
List
[
SelectExpression
[_]] =
Nil
,
ordering:
List
[
OrderBy
[_]] =
Nil
,
resultLimit:
Int
=
1
,
resultOffset:
Int
=
1
,
converter: (
QueryResult
) ⇒
Result
,
alias:
Option
[
String
] =
None
,
fetchSize:
Int
=
Datastore.DefaultFetchSize
)
extends
WhereSupport
[
Query
[
Types
,
Result
]] with
Joinable
with
JoinSupport
[
Types
,
Result
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
JoinSupport
[
Types
,
Result
],
Joinable
,
WhereSupport
[
Query
[
Types
,
Result
]],
SQLStatement
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Query
Serializable
Serializable
Product
Equals
JoinSupport
Joinable
WhereSupport
SQLStatement
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Query
(
expressions:
SelectExpressions
[
Types
]
,
table:
Table
,
joins:
List
[
Join
] =
Nil
,
whereCondition:
Option
[
Condition
] =
None
,
grouping:
List
[
SelectExpression
[_]] =
Nil
,
ordering:
List
[
OrderBy
[_]] =
Nil
,
resultLimit:
Int
=
1
,
resultOffset:
Int
=
1
,
converter: (
QueryResult
) ⇒
Result
,
alias:
Option
[
String
] =
None
,
fetchSize:
Int
=
Datastore.DefaultFetchSize
)
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
val
alias
:
Option
[
String
]
def
and
(
condition:
Condition
)
:
Query
[
Types
,
Result
]
Definition Classes
WhereSupport
def
apply
[
T
,
S
]
(
column:
ColumnLike
[
T
,
S
]
)
:
ColumnAlias
[
T
,
S
]
def
as
(
alias:
String
)
:
Query
[
Types
,
Result
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
async
:
Future
[
QueryResultsIterator
[
Types
,
Result
]]
def
batchSize
(
size:
Int
)
:
Query
[
Types
,
Result
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
convert
[
NewResult
]
(
converter: (
QueryResult
) ⇒
NewResult
)
:
Query
[
Types
,
NewResult
]
def
converted
(
implicit
session:
Session
)
:
EnhancedIterator
[
Result
]
val
converter
: (
QueryResult
) ⇒
Result
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
expressions
:
SelectExpressions
[
Types
]
val
fetchSize
:
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
def
groupBy
(
expressions:
SelectExpression
[_]*
)
:
Query
[
Types
,
Result
]
val
grouping
:
List
[
SelectExpression
[_]]
def
innerJoin
(
joinable:
Joinable
)
:
PartialJoin
[
Types
,
Result
]
Definition Classes
JoinSupport
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
join
(
joinable:
Joinable
,
joinType:
JoinType
=
JoinType.Join
)
:
PartialJoin
[
Types
,
Result
]
Definition Classes
JoinSupport
val
joins
:
List
[
Join
]
def
leftJoin
(
joinable:
Joinable
)
:
PartialJoin
[
Types
,
Result
]
Definition Classes
JoinSupport
def
leftOuterJoin
(
joinable:
Joinable
)
:
PartialJoin
[
Types
,
Result
]
Definition Classes
JoinSupport
def
limit
(
value:
Int
)
:
Query
[
Types
,
Result
]
def
map
[
NewResult
]
(
converter: (
Result
) ⇒
NewResult
)
:
Query
[
Types
,
NewResult
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
offset
(
value:
Int
)
:
Query
[
Types
,
Result
]
def
or
(
condition:
Condition
)
:
Query
[
Types
,
Result
]
Definition Classes
WhereSupport
def
orderBy
(
entries:
OrderBy
[_]*
)
:
Query
[
Types
,
Result
]
val
ordering
:
List
[
OrderBy
[_]]
def
result
(
implicit
session:
Session
)
:
QueryResultsIterator
[
Types
,
Result
]
val
resultLimit
:
Int
val
resultOffset
:
Int
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
table
:
Table
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
(
...
)
def
where
(
condition:
Condition
)
:
Query
[
Types
,
Result
]
Definition Classes
Query
→
WhereSupport
def
where
(
condition:
Condition
,
connectType:
ConnectType
)
:
Query
[
Types
,
Result
]
Definition Classes
WhereSupport
val
whereCondition
:
Option
[
Condition
]
Definition Classes
Query
→
WhereSupport
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
JoinSupport
[
Types
,
Result
]
Inherited from
Joinable
Inherited from
WhereSupport
[
Query
[
Types
,
Result
]]
Inherited from
SQLStatement
Inherited from
AnyRef
Inherited from
Any
Ungrouped