wvlet
.
airframe
.
stream
.
spi
SQLModel
Related Docs:
trait SQLModel
|
package spi
object
SQLModel
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SQLModel
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
Aggregate
(
in:
Relation
,
selectItems:
Seq
[
SelectItem
]
,
groupingKeys:
Seq
[
Expression
]
)
extends
Relation
with
Product
with
Serializable
case class
AliasedRelation
(
relation:
Relation
,
alias:
String
,
columnNames:
Option
[
Seq
[
String
]]
)
extends
Relation
with
Product
with
Serializable
case class
AllColumns
(
prefix:
Option
[
QName
]
)
extends
SelectItem
with
Product
with
Serializable
case class
And
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
ArithmeticBinaryExpr
(
exprType:
BinaryExprType
,
left:
Expression
,
right:
Expression
)
extends
Expression
with
Product
with
Serializable
sealed
trait
ArithmeticExpression
extends
AnyRef
case class
ArithmeticUnaryExpr
(
sign:
Sign
,
value:
Expression
)
extends
Expression
with
Product
with
Serializable
case class
ArrayConstructor
(
values:
Seq
[
Expression
]
)
extends
Expression
with
Product
with
Serializable
case class
Between
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
sealed abstract
class
BinaryExprType
extends
AnyRef
sealed
trait
BooleanLiteral
extends
Literal
case class
CaseExpr
(
operand:
Option
[
Expression
]
,
whenClauses:
Seq
[
Expression
]
,
defaultValue:
Option
[
Expression
]
)
extends
Expression
with
Product
with
Serializable
sealed
trait
ConditionalExpression
extends
Expression
case class
CurrentDate
(
precision:
Option
[
Int
]
)
extends
CurrentTimeBase
with
Product
with
Serializable
case class
CurrentLocalTime
(
precision:
Option
[
Int
]
)
extends
CurrentTimeBase
with
Product
with
Serializable
case class
CurrentLocalTimeStamp
(
precision:
Option
[
Int
]
)
extends
CurrentTimeBase
with
Product
with
Serializable
case class
CurrentTime
(
precision:
Option
[
Int
]
)
extends
CurrentTimeBase
with
Product
with
Serializable
sealed abstract
class
CurrentTimeBase
extends
Expression
case class
CurrentTimestamp
(
precision:
Option
[
Int
]
)
extends
CurrentTimeBase
with
Product
with
Serializable
case class
DigitId
(
id:
Int
)
extends
Expression
with
Product
with
Serializable
case class
DoubleLiteral
(
value:
Double
)
extends
Literal
with
Product
with
Serializable
case class
Eq
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
Except
(
left:
Relation
,
right:
Relation
,
isDistinct:
Boolean
)
extends
SetOperation
with
Product
with
Serializable
sealed
trait
Expression
extends
SQLModel
case class
Filter
(
in:
Relation
,
filterExpr:
Expression
)
extends
Relation
with
Product
with
Serializable
sealed
trait
FrameBound
extends
AnyRef
sealed
trait
FrameType
extends
AnyRef
case class
FunctionCall
(
name:
QName
,
args:
Seq
[
Expression
]
,
isDistinct:
Boolean
,
window:
Option
[
Window
]
)
extends
Expression
with
Product
with
Serializable
case class
GreaterThan
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
GreaterThanOrEq
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
IfExpr
(
cond:
ConditionalExpression
,
onTrue:
Expression
,
onFalse:
Expression
)
extends
Expression
with
Product
with
Serializable
case class
In
(
a:
Expression
,
list:
Seq
[
Expression
]
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
Intersect
(
relations:
Seq
[
Relation
]
,
isDistinct:
Boolean
)
extends
SetOperation
with
Product
with
Serializable
sealed
trait
IntervalField
extends
AnyRef
case class
IntervalLiteral
(
value:
String
,
sign:
Sign
,
startField:
IntervalField
,
end:
Option
[
IntervalField
]
)
extends
Literal
with
Product
with
Serializable
case class
IsNotNull
(
a:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
IsNull
(
a:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
Join
(
joinType:
JoinType
,
left:
Relation
,
right:
Relation
,
cond:
JoinCriteria
)
extends
Relation
with
Product
with
Serializable
sealed
trait
JoinCriteria
extends
AnyRef
case class
JoinOn
(
expr:
Expression
)
extends
JoinCriteria
with
Product
with
Serializable
sealed
trait
JoinType
extends
AnyRef
case class
JoinUsing
(
columns:
Seq
[
String
]
)
extends
JoinCriteria
with
Product
with
Serializable
case class
LambdaExpr
(
body:
Expression
,
args:
Seq
[
String
]
)
extends
Expression
with
Product
with
Serializable
case class
LessThan
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
LessThanOrEq
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
Limit
(
in:
Relation
,
limit:
Int
)
extends
Relation
with
Product
with
Serializable
sealed
trait
Literal
extends
Expression
case class
LongLiteral
(
value:
Long
)
extends
Literal
with
Product
with
Serializable
case class
Not
(
expr:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
NotEq
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
sealed
trait
NullOrdering
extends
AnyRef
case class
Or
(
a:
Expression
,
b:
Expression
)
extends
ConditionalExpression
with
Product
with
Serializable
case class
Project
(
in:
Option
[
Relation
]
,
isDistinct:
Boolean
=
false
,
selectItems:
Seq
[
SelectItem
]
)
extends
Relation
with
Product
with
Serializable
case class
QName
(
parts:
Seq
[
String
]
)
extends
Expression
with
Product
with
Serializable
case class
RawSQL
(
sql:
String
)
extends
Relation
with
Product
with
Serializable
class
Ref
extends
Expression
sealed
trait
Relation
extends
SQLModel
sealed
trait
SelectItem
extends
Expression
sealed
trait
SetOperation
extends
Relation
sealed abstract
class
Sign
extends
AnyRef
case class
SingleColumn
(
expr:
Expression
,
alias:
Option
[
String
]
)
extends
SelectItem
with
Product
with
Serializable
case class
Sort
(
in:
Relation
,
orderBy:
Seq
[
SortItem
]
)
extends
Relation
with
Product
with
Serializable
case class
SortItem
(
sortKey:
Expression
,
ordering:
SortOrdering
=
Ascending
,
nullOrdering:
NullOrdering
=
UndefinedOrder
)
extends
Expression
with
Product
with
Serializable
sealed
trait
SortOrdering
extends
AnyRef
case class
StringLiteral
(
value:
String
)
extends
Literal
with
Product
with
Serializable
case class
Table
(
name:
QName
)
extends
Relation
with
Product
with
Serializable
case class
TimeLiteral
(
value:
String
)
extends
Literal
with
Product
with
Serializable
case class
TimestampLiteral
(
value:
String
)
extends
Literal
with
Product
with
Serializable
case class
Union
(
relations:
Seq
[
Relation
]
,
isDistinct:
Boolean
)
extends
SetOperation
with
Product
with
Serializable
case class
Values
(
rows:
Seq
[
Expression
]
)
extends
Relation
with
Product
with
Serializable
case class
WhenClause
(
operand:
Expression
,
result:
Expression
)
extends
Expression
with
Product
with
Serializable
case class
Window
(
partitionBy:
Seq
[
Expression
]
,
orderBy:
Seq
[
SortItem
]
,
frame:
Option
[
WindowFrame
]
)
extends
Product
with
Serializable
case class
WindowFrame
(
frameType:
FrameType
,
start:
FrameBound
,
end:
Option
[
FrameBound
]
)
extends
Product
with
Serializable
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
object
Add
extends
BinaryExprType
with
Product
with
Serializable
object
Ascending
extends
SortOrdering
with
Product
with
Serializable
object
CrossJoin
extends
JoinType
with
Product
with
Serializable
object
CurrentRow
extends
FrameBound
with
Product
with
Serializable
object
Day
extends
IntervalField
with
Product
with
Serializable
object
Descending
extends
SortOrdering
with
Product
with
Serializable
object
Divide
extends
BinaryExprType
with
Product
with
Serializable
object
FalseLiteral
extends
BooleanLiteral
with
Product
with
Serializable
object
Following
extends
FrameBound
with
Product
with
Serializable
object
FullOuterJoin
extends
JoinType
with
Product
with
Serializable
object
Hour
extends
IntervalField
with
Product
with
Serializable
object
ImplicitJoin
extends
JoinType
with
Product
with
Serializable
object
InnerJoin
extends
JoinType
with
Product
with
Serializable
object
LeftOuterJoin
extends
JoinType
with
Product
with
Serializable
object
Minute
extends
IntervalField
with
Product
with
Serializable
object
Modulus
extends
BinaryExprType
with
Product
with
Serializable
object
Month
extends
IntervalField
with
Product
with
Serializable
object
Multiply
extends
BinaryExprType
with
Product
with
Serializable
object
NaturalJoin
extends
JoinCriteria
with
Product
with
Serializable
object
Negative
extends
Sign
with
Product
with
Serializable
object
NoOp
extends
ConditionalExpression
with
Product
with
Serializable
object
NullIsFirst
extends
NullOrdering
with
Product
with
Serializable
object
NullIsLast
extends
NullOrdering
with
Product
with
Serializable
object
NullLiteral
extends
Literal
with
Product
with
Serializable
object
Positive
extends
Sign
with
Product
with
Serializable
object
Preceding
extends
FrameBound
with
Product
with
Serializable
object
QName
extends
Serializable
object
RangeFrame
extends
FrameType
with
Product
with
Serializable
object
RightOuterJoin
extends
JoinType
with
Product
with
Serializable
object
RowsFrame
extends
FrameType
with
Product
with
Serializable
object
Second
extends
IntervalField
with
Product
with
Serializable
object
Subtract
extends
BinaryExprType
with
Product
with
Serializable
object
TrueLiteral
extends
BooleanLiteral
with
Product
with
Serializable
object
UnboundedFollowing
extends
FrameBound
with
Product
with
Serializable
object
UnboundedPreceding
extends
FrameBound
with
Product
with
Serializable
object
UndefinedOrder
extends
NullOrdering
with
Product
with
Serializable
object
Year
extends
IntervalField
with
Product
with
Serializable
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
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
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
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
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
AnyRef
Inherited from
Any
Ungrouped