org
.
powerscala
.
datastore
.
impl
.
sql
QueryBuilder
case class
QueryBuilder
(
_table:
String
,
_fields:
List
[
String
] =
immutable.this.Nil
,
_conditions:
List
[
Condition
] =
immutable.this.Nil
,
_groups:
List
[
GroupBy
] =
immutable.this.Nil
,
_orders:
List
[
OrderBy
] =
immutable.this.Nil
,
_joins:
List
[
Join
] =
immutable.this.Nil
,
_limit:
Int
=
-1
,
_offset:
Int
=
-1
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
QueryBuilder
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
QueryBuilder
(
_table:
String
,
_fields:
List
[
String
] =
immutable.this.Nil
,
_conditions:
List
[
Condition
] =
immutable.this.Nil
,
_groups:
List
[
GroupBy
] =
immutable.this.Nil
,
_orders:
List
[
OrderBy
] =
immutable.this.Nil
,
_joins:
List
[
Join
] =
immutable.this.Nil
,
_limit:
Int
=
-1
,
_offset:
Int
=
-1
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
val
_conditions
:
List
[
Condition
]
val
_fields
:
List
[
String
]
val
_groups
:
List
[
GroupBy
]
val
_joins
:
List
[
Join
]
val
_limit
:
Int
val
_offset
:
Int
val
_orders
:
List
[
OrderBy
]
val
_table
:
String
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
executeQuery
[
T
]
(
connection:
Connection
)
(
f: (
ResultSet
) ⇒
T
)
:
T
def
field
(
name:
String
)
:
QueryBuilder
def
fields
(
names:
String
*
)
:
QueryBuilder
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
(
field:
String
)
:
QueryBuilder
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
join
(
join:
Join
)
:
QueryBuilder
def
limit
(
value:
Int
)
:
QueryBuilder
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
)
:
QueryBuilder
def
orderBy
(
field:
String
,
ascending:
Boolean
=
true
)
:
QueryBuilder
def
query
()
:
String
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
table
(
name:
String
)
:
QueryBuilder
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
(
field:
String
,
value:
Any
,
conditionType:
ConditionType
=
ConditionType.Equal
)
:
QueryBuilder
def
where
(
condition:
String
)
:
QueryBuilder
def
where
(
condition:
Condition
)
:
QueryBuilder
def
whereNotNull
(
field:
String
)
:
QueryBuilder
def
whereNull
(
field:
String
)
:
QueryBuilder
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped