sqlest
.
ast
Select
Related Doc:
package ast
case class
Select
[
A
,
R <:
Relation
]
(
cols:
A
,
from:
R
,
where:
Option
[
Column
[
Boolean
]] =
None
,
startWith:
Option
[
Column
[
Boolean
]] =
None
,
connectBy:
Option
[
Column
[
Boolean
]] =
None
,
groupBy:
List
[
Group
] =
Nil
,
having:
Option
[
Column
[
Boolean
]] =
None
,
orderBy:
List
[
Order
] =
Nil
,
limit:
Option
[
Long
] =
None
,
offset:
Option
[
Long
] =
None
,
union:
List
[
Union
[_]] =
Nil
,
subselectAlias:
Option
[
String
] =
None
)
(
implicit
aliasedColumns:
AliasedColumns
[
A
]
)
extends
Relation
with
Query
with
Product
with
Serializable
A select statement or subselect.
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
Query
,
Operation
,
Relation
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Select
Serializable
Serializable
Product
Equals
Query
Operation
Relation
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Select
(
cols:
A
,
from:
R
,
where:
Option
[
Column
[
Boolean
]] =
None
,
startWith:
Option
[
Column
[
Boolean
]] =
None
,
connectBy:
Option
[
Column
[
Boolean
]] =
None
,
groupBy:
List
[
Group
] =
Nil
,
having:
Option
[
Column
[
Boolean
]] =
None
,
orderBy:
List
[
Order
] =
Nil
,
limit:
Option
[
Long
] =
None
,
offset:
Option
[
Long
] =
None
,
union:
List
[
Union
[_]] =
Nil
,
subselectAlias:
Option
[
String
] =
None
)
(
implicit
aliasedColumns:
AliasedColumns
[
A
]
)
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
implicit
val
aliasedColumns
:
AliasedColumns
[
A
]
def
as
(
subselectAlias:
String
)
:
Select
[
A
,
R
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
cols
:
A
def
columns
:
Seq
[
AliasedColumn
[_]]
def
connectBy
(
expr:
Column
[
Boolean
]
)
:
Select
[
A
,
R
]
val
connectBy
:
Option
[
Column
[
Boolean
]]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
from
[
R2 <:
Relation
]
(
relation:
R2
)
:
Select
[
A
,
R2
]
val
from
:
R
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
groupBy
(
groupBys:
Group
*
)
:
Select
[
A
,
R
]
val
groupBy
:
List
[
Group
]
def
having
(
expr:
Column
[
Boolean
]
)
:
Select
[
A
,
R
]
val
having
:
Option
[
Column
[
Boolean
]]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
limit
(
limit:
Long
)
:
Select
[
A
,
R
]
val
limit
:
Option
[
Long
]
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
(
offset:
Long
)
:
Select
[
A
,
R
]
val
offset
:
Option
[
Long
]
def
orderBy
(
orders:
Order
*
)
:
Select
[
A
,
R
]
val
orderBy
:
List
[
Order
]
def
page
(
number:
Long
,
size:
Long
)
:
Select
[
A
,
R
]
def
startWith
(
expr:
Column
[
Boolean
]
)
:
Select
[
A
,
R
]
val
startWith
:
Option
[
Column
[
Boolean
]]
val
subselectAlias
:
Option
[
String
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
union
(
select:
Select
[
A
, _ <:
Relation
]
)
:
Select
[
A
,
R
]
val
union
:
List
[
Union
[_]]
def
unionAll
(
select:
Select
[
A
, _ <:
Relation
]
)
:
Select
[
A
,
R
]
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
(
expr:
Column
[
Boolean
]
)
:
Select
[
A
,
R
]
val
where
:
Option
[
Column
[
Boolean
]]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Query
Inherited from
Operation
Inherited from
Relation
Inherited from
AnyRef
Inherited from
Any
Ungrouped
A select statement or subselect.