public final class Sql
extends java.lang.Object
Defines the common SQL keywords, operators and punctuation. They serve as reusable parts to build SQL expressions.
All the enum
values have a valid token string representation, i.e.
toString()
method returns a valid SQL token wrapped into the whitespaces.
Modifier and Type | Class and Description |
---|---|
static class |
Sql.BuildingBlock
Set of punctuation signs used in SQL:
Operators: equal, not equal, comparison operators;
Punctuation: comma, brackets, semicolon.
|
static class |
Sql.Function
Set of SQL keywords representing 5 aggregating functions:
MIN
MAX
COUNT
AVG
SUM
|
static class |
Sql.Query
Set of basic SQL keywords/key-phrases for CRUD operations, predicate constructing,
grouping and ordering, etc.
|