| 程序包 | 说明 |
|---|---|
| com.github.braisdom.objsql.sql | |
| com.github.braisdom.objsql.sql.expression | |
| com.github.braisdom.objsql.sql.function |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Column
It describes a column of database, and defines the operators between
column and literal.
|
interface |
Dataset |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractExpression |
class |
AbstractTable |
class |
DefaultColumn |
class |
Select<T> |
class |
SqlFunctionCall |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Expression[] |
Select.groupByExpressions |
protected Expression |
Select.havingExpression |
protected Expression[] |
Select.orderByExpressions |
protected Expression |
Select.whereExpression |
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<Expression> |
Select.projections |
| 限定符和类型 | 方法和说明 |
|---|---|
static Expression |
Expressions.$(Double doubleLiteral) |
static Expression |
Expressions.$(Float floatLiteral) |
static Expression |
Expressions.$(Integer integer) |
static Expression |
Expressions.$(String string) |
static Expression |
Expressions.and(Expression left,
Expression right,
Expression... others) |
Expression |
AbstractExpression.as(String alias) |
Expression |
Expression.as(String alias) |
Expression |
Column.asc() |
Expression |
DefaultColumn.asc() |
Expression |
Column.between(Expression left,
Expression right) |
Expression |
DefaultColumn.between(Expression left,
Expression right) |
Expression |
Column.desc() |
Expression |
DefaultColumn.desc() |
static Expression |
Expressions.divide(Expression left,
Expression right,
Expression... others) |
Expression |
Column.eq(Double literal) |
Expression |
DefaultColumn.eq(Double literal) |
Expression |
Column.eq(Expression expr) |
Expression |
DefaultColumn.eq(Expression expr) |
Expression |
Column.eq(Float literal) |
Expression |
DefaultColumn.eq(Float literal) |
Expression |
Column.eq(Integer literal) |
Expression |
DefaultColumn.eq(Integer literal) |
Expression |
Column.eq(String literal) |
Expression |
DefaultColumn.eq(String literal) |
Expression |
Column.ge(Double literal) |
Expression |
DefaultColumn.ge(Double literal) |
Expression |
Column.ge(Expression expr) |
Expression |
DefaultColumn.ge(Expression expr) |
Expression |
Column.ge(Float literal) |
Expression |
DefaultColumn.ge(Float literal) |
Expression |
Column.ge(Integer literal) |
Expression |
DefaultColumn.ge(Integer literal) |
Expression[] |
SqlFunctionCall.getExpressions() |
Expression |
Column.gt(Double literal) |
Expression |
DefaultColumn.gt(Double literal) |
Expression |
Column.gt(Expression expr) |
Expression |
DefaultColumn.gt(Expression expr) |
Expression |
Column.gt(Float literal) |
Expression |
DefaultColumn.gt(Float literal) |
Expression |
Column.gt(Integer literal) |
Expression |
DefaultColumn.gt(Integer literal) |
Expression |
Column.in(Dataset dataset) |
Expression |
DefaultColumn.in(Dataset dataset) |
Expression |
Column.in(Expression expr,
Expression... others) |
Expression |
DefaultColumn.in(Expression expr,
Expression... others) |
Expression |
Column.isNotNull() |
Expression |
DefaultColumn.isNotNull() |
Expression |
Column.isNull() |
Expression |
DefaultColumn.isNull() |
Expression |
Column.le(Double literal) |
Expression |
DefaultColumn.le(Double literal) |
Expression |
Column.le(Expression expr) |
Expression |
DefaultColumn.le(Expression expr) |
Expression |
Column.le(Float literal) |
Expression |
DefaultColumn.le(Float literal) |
Expression |
Column.le(Integer literal) |
Expression |
DefaultColumn.le(Integer literal) |
Expression |
Column.like(String str) |
Expression |
DefaultColumn.like(String str) |
static Expression |
Expressions.literal(Double doubleLiteral) |
static Expression |
Expressions.literal(Float floatLiteral) |
static Expression |
Expressions.literal(Integer integer) |
static Expression |
Expressions.literal(String string) |
Expression |
Column.lt(Double literal) |
Expression |
DefaultColumn.lt(Double literal) |
Expression |
Column.lt(Expression expr) |
Expression |
DefaultColumn.lt(Expression expr) |
Expression |
Column.lt(Float literal) |
Expression |
DefaultColumn.lt(Float literal) |
Expression |
Column.lt(Integer literal) |
Expression |
DefaultColumn.lt(Integer literal) |
static Expression |
Expressions.minus(Expression left,
Expression right,
Expression... others) |
static Expression |
Expressions.multiply(Expression left,
Expression right,
Expression... others) |
Expression |
Column.ne(Double literal) |
Expression |
DefaultColumn.ne(Double literal) |
Expression |
Column.ne(Expression expr) |
Expression |
DefaultColumn.ne(Expression expr) |
Expression |
Column.ne(Float literal) |
Expression |
DefaultColumn.ne(Float literal) |
Expression |
Column.ne(Integer literal) |
Expression |
DefaultColumn.ne(Integer literal) |
Expression |
Column.ne(String literal) |
Expression |
DefaultColumn.ne(String literal) |
Expression |
Column.ne2(Double literal) |
Expression |
DefaultColumn.ne2(Double literal) |
Expression |
Column.ne2(Expression expr) |
Expression |
DefaultColumn.ne2(Expression expr) |
Expression |
Column.ne2(Float literal) |
Expression |
DefaultColumn.ne2(Float literal) |
Expression |
Column.ne2(Integer literal) |
Expression |
DefaultColumn.ne2(Integer literal) |
Expression |
Column.ne2(String literal) |
Expression |
DefaultColumn.ne2(String literal) |
Expression |
Column.notBetween(Expression left,
Expression right) |
Expression |
DefaultColumn.notBetween(Expression left,
Expression right) |
Expression |
Column.notIn(Dataset dataset) |
Expression |
DefaultColumn.notIn(Dataset dataset) |
Expression |
Column.notIn(Expression expr,
Expression... others) |
Expression |
DefaultColumn.notIn(Expression expr,
Expression... others) |
static Expression |
Expressions.or(Expression left,
Expression right,
Expression... others) |
static Expression |
Expressions.paren(Expression expression) |
static Expression |
Expressions.plus(Expression left,
Expression right,
Expression... others) |
| 构造器和说明 |
|---|
SqlFunctionCall(String name,
Expression... expressions) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BetweenExpression |
class |
CaseExpression |
class |
ColumnExpression |
class |
InExpression |
class |
JoinExpression |
class |
LiteralExpression |
class |
ParenExpression |
class |
PlainExpression |
class |
PolynaryExpression |
class |
TableExpression |
| 限定符和类型 | 字段和说明 |
|---|---|
Expression |
JoinExpression.onExpression |
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
JoinExpression.as(String alias) |
Expression |
InExpression.as(String alias) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CaseExpression.sqlElse(Expression elseExpr) |
CaseExpression |
CaseExpression.when(Expression compareValueExpr,
Expression thenExpr) |
| 构造器和说明 |
|---|
BetweenExpression(boolean negated,
Expression left,
Expression right) |
CaseExpression(Expression caseExpr) |
ColumnExpression(Column column,
Expression expression) |
InExpression(boolean negated,
Expression expression,
Expression... others) |
InExpression(boolean negated,
Expression expression,
Expression... others) |
JoinExpression(int joinType,
Dataset dataset,
Expression onExpression) |
ParenExpression(Expression expression) |
PolynaryExpression(String operator,
Expression left,
Expression right,
Expression... others) |
PolynaryExpression(String operator,
Expression left,
Expression right,
Expression... others) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Expression |
AnsiFunctions.abs(Double literal) |
static Expression |
AnsiFunctions.abs(Expression expression) |
static Expression |
AnsiFunctions.abs(Float literal) |
static Expression |
AnsiFunctions.abs(Integer literal) |
static Expression |
AnsiFunctions.acos(Double literal) |
static Expression |
AnsiFunctions.acos(Expression expression) |
static Expression |
AnsiFunctions.acos(Float literal) |
static Expression |
AnsiFunctions.acos(Integer literal) |
static Expression |
PostgreSql.addDate(Expression expression,
int day) |
static Expression |
PostgreSql.addDate(String dateString,
int day) |
static Expression |
ClickHouseFunctions.addDays(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.addDays(String timeString,
int delta) |
static Expression |
PostgreSql.addHour(Expression expression,
int hour) |
static Expression |
PostgreSql.addHour(String dateString,
int hour) |
static Expression |
ClickHouseFunctions.addHours(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.addHours(String timeString,
int delta) |
static Expression |
OracleFunctions.addMonth(Expression expression,
Integer delta) |
static Expression |
ClickHouseFunctions.addMonths(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.addMonths(String timeString,
int delta) |
static Expression |
ClickHouseFunctions.addWeeks(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.addWeeks(String timeString,
int delta) |
static Expression |
ClickHouseFunctions.addYears(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.addYears(String timeString,
int delta) |
static Expression |
ClickHouseFunctions.any(Expression expression) |
static Expression |
AnsiFunctions.asin(Double literal) |
static Expression |
AnsiFunctions.asin(Expression expression) |
static Expression |
AnsiFunctions.asin(Float literal) |
static Expression |
AnsiFunctions.asin(Integer literal) |
static Expression |
AnsiFunctions.atan(Double literal) |
static Expression |
AnsiFunctions.atan(Expression expression) |
static Expression |
AnsiFunctions.atan(Float literal) |
static Expression |
AnsiFunctions.atan(Integer literal) |
static Expression |
AnsiFunctions.avg(Expression expression) |
static Expression |
ClickHouseFunctions.base64Decode(Expression expression) |
static Expression |
ClickHouseFunctions.base64Decode(String str) |
static Expression |
ClickHouseFunctions.base64Encode(Expression expression) |
static Expression |
ClickHouseFunctions.base64Encode(String str) |
static Expression |
ClickHouseFunctions.cast(Expression expression,
Expression dataType) |
static Expression |
AnsiFunctions.ceil(Double literal) |
static Expression |
AnsiFunctions.ceil(Expression expression) |
static Expression |
AnsiFunctions.ceil(Float literal) |
static Expression |
AnsiFunctions.concat(Expression... expressions) |
static Expression |
MySQLFunctions.concatWs(String delimiter,
Expression... expressions) |
static Expression |
PostgreSql.concatWs(String delimiter,
Expression... expressions) |
static Expression |
AnsiFunctions.cos(Double literal) |
static Expression |
AnsiFunctions.cos(Expression expression) |
static Expression |
AnsiFunctions.cos(Float literal) |
static Expression |
AnsiFunctions.cos(Integer literal) |
static Expression |
OracleFunctions.cosh(Expression expression) |
static Expression |
OracleFunctions.cosh(Integer literal) |
static Expression |
AnsiFunctions.count()
Returns the number of rows returned by the query.
|
static Expression |
AnsiFunctions.count(Expression expression)
Returns number of input rows for which the value of expression is not null.
|
static Expression |
AnsiFunctions.countDistinct(Expression expression)
Returns number of input rows for which the value of expression is not null
and column value is distinct.
|
static Expression |
ClickHouseFunctions.crc32(Expression expression) |
static Expression |
MySQLFunctions.crc32(String str) |
static Expression |
ClickHouseFunctions.crc32(String str) |
static Expression |
AnsiFunctions.currentDate() |
static Expression |
AnsiFunctions.currentTimestamp() |
static Expression |
MySQLFunctions.date(Expression expression) |
static Expression |
MySQLFunctions.date(String dataString) |
static Expression |
MySQLFunctions.dateAdd(Expression expression,
int day) |
static Expression |
MySQLFunctions.dateAdd(String dataString,
int day) |
static Expression |
MySQLFunctions.dateDiff(Expression expression,
Expression expression1) |
static Expression |
MySQLFunctions.dateDiff(Expression expression,
String dataString) |
static Expression |
MySQLFunctions.dateDiff(String dataString,
Expression expression) |
static Expression |
ClickHouseFunctions.dateDiff(String unit,
Expression startTime,
Expression endTime) |
static Expression |
MySQLFunctions.dateDiff(String dateString1,
String dateString2) |
static Expression |
MySQLFunctions.dateSub(Expression expression,
int day) |
static Expression |
MySQLFunctions.dateSub(String dataString,
int day) |
static Expression |
ClickHouseFunctions.dayDiff(Expression startTime,
Expression endTime) |
static Expression |
MySQLFunctions.dayOfMonth(Expression expression) |
static Expression |
MySQLFunctions.dayOfMonth(String str) |
static Expression |
MySQLFunctions.dayOfWeek(Expression expression) |
static Expression |
MySQLFunctions.dayOfWeek(String str) |
static Expression |
MySQLFunctions.dayOfYear(Expression expression) |
static Expression |
MySQLFunctions.dayOfYear(String str) |
static Expression |
ClickHouseFunctions.empty(Expression expression) |
static Expression |
ClickHouseFunctions.empty(String string) |
static Expression |
ClickHouseFunctions.endsWith(Expression expression) |
static Expression |
ClickHouseFunctions.endsWith(String str) |
static Expression |
PostgreSql.enumFirst(Expression expression) |
static Expression |
PostgreSql.enumLast(Expression expression) |
static Expression |
PostgreSql.enumRange(Expression... expressions) |
static Expression |
PostgreSql.enumRange(Expression expression) |
static Expression |
AnsiFunctions.exp(Expression expression) |
static Expression |
AnsiFunctions.exp(Float literal) |
static Expression |
AnsiFunctions.exp(Integer literal) |
static Expression |
MySQLFunctions.extract(String unit,
Expression expression)
The unit see: https://dev.mysql.com/doc/refman/8.0/en/expressions.html#temporal-intervals
|
static Expression |
PostgreSql.extract(String field,
Expression expression) |
static Expression |
MySQLFunctions.extractDay(Expression expression) |
static Expression |
MySQLFunctions.extractDayHour(Expression expression) |
static Expression |
PostgreSql.extractDayOfYear(Expression expression) |
static Expression |
MySQLFunctions.extractHour(Expression expression) |
static Expression |
PostgreSql.extractHour(Expression expression) |
static Expression |
PostgreSql.extractMonth(Expression expression) |
static Expression |
PostgreSql.extractQuarter(Expression expression) |
static Expression |
MySQLFunctions.extractWeek(Expression expression) |
static Expression |
PostgreSql.extractWeek(Expression expression) |
static Expression |
MySQLFunctions.extractYear(Expression expression) |
static Expression |
PostgreSql.extractYear(Expression expression) |
static Expression |
MySQLFunctions.extractYearMonth(Expression expression) |
static Expression |
ClickHouseFunctions.farmHash64(Expression expression) |
static Expression |
ClickHouseFunctions.farmHash64(String literal) |
static Expression |
AnsiFunctions.floor(Double literal) |
static Expression |
AnsiFunctions.floor(Expression expression) |
static Expression |
AnsiFunctions.floor(Float literal) |
static Expression |
MySQLFunctions.format(Expression expression,
int num) |
static Expression |
MySQLFunctions.format(float floatNum,
int num) |
static Expression |
ClickHouseFunctions.formatDateTime(Expression time,
Expression formatter) |
static Expression |
ClickHouseFunctions.formatDateTime(Expression time,
Expression formatter,
Expression timeZone) |
static Expression |
MySQLFunctions.fromBase64(Expression expression) |
static Expression |
MySQLFunctions.fromBase64(String str) |
static Expression |
MySQLFunctions.fromUnixtime(Expression expression) |
static Expression |
ClickHouseFunctions.fromUnixTime(Expression timeStamp) |
static Expression |
ClickHouseFunctions.fromUnixTime(Expression timeStamp,
Expression formatter) |
static Expression |
MySQLFunctions.fromUnixtime(Long unixtime) |
static Expression |
ClickHouseFunctions.generateUUIDv4() |
static Expression |
AnsiFunctions.groupConcat(Expression... expressions) |
static Expression |
MySQLFunctions.hex(Expression expression) |
static Expression |
ClickHouseFunctions.hex(Expression expression) |
static Expression |
MySQLFunctions.hex(String str) |
static Expression |
ClickHouseFunctions.hex(String str) |
static Expression |
ClickHouseFunctions.hiveHash(Expression expression) |
static Expression |
ClickHouseFunctions.hiveHash(String literal) |
static Expression |
ClickHouseFunctions.hourDiff(Expression startTime,
Expression endTime) |
static Expression |
ClickHouseFunctions.isNotNull(Expression expression) |
static Expression |
ClickHouseFunctions.isNull(Expression expression) |
static Expression |
ClickHouseFunctions.javaHash(Expression expression) |
static Expression |
ClickHouseFunctions.javaHash(String literal) |
static Expression |
MySQLFunctions.lastDay(Expression expression)
Return the last day of the month for the argument
|
static Expression |
MySQLFunctions.lastDay(String dataString)
Return the last day of the month for the argument
|
static Expression |
AnsiFunctions.left(Expression expression) |
static Expression |
AnsiFunctions.left(String literal) |
static Expression |
AnsiFunctions.length(Expression expression) |
static Expression |
AnsiFunctions.length(String literal) |
static Expression |
AnsiFunctions.ln(Expression expression) |
static Expression |
AnsiFunctions.ln(Float literal) |
static Expression |
AnsiFunctions.ln(Integer literal) |
static Expression |
AnsiFunctions.log(Expression expression) |
static Expression |
AnsiFunctions.log(Float literal) |
static Expression |
AnsiFunctions.log(Integer literal) |
static Expression |
AnsiFunctions.log10(Expression expression) |
static Expression |
AnsiFunctions.log10(Float literal) |
static Expression |
AnsiFunctions.log10(Integer literal) |
static Expression |
AnsiFunctions.log2(Expression expression) |
static Expression |
AnsiFunctions.log2(Float literal) |
static Expression |
AnsiFunctions.log2(Integer literal) |
static Expression |
AnsiFunctions.lower(Expression expression) |
static Expression |
AnsiFunctions.lower(String literal) |
static Expression |
AnsiFunctions.ltrim(Expression... expressions) |
static Expression |
AnsiFunctions.max(Expression expression) |
static Expression |
MySQLFunctions.md5(Expression expression) |
static Expression |
ClickHouseFunctions.md5(Expression expression) |
static Expression |
PostgreSql.md5(Expression expression) |
static Expression |
MySQLFunctions.md5(String literal) |
static Expression |
ClickHouseFunctions.md5(String literal) |
static Expression |
PostgreSql.md5(String literal) |
static Expression |
AnsiFunctions.min(Expression expression) |
static Expression |
PostgreSql.minusDate(Expression expression,
int day) |
static Expression |
PostgreSql.minusDate(String dateString,
int day) |
static Expression |
PostgreSql.minusHour(Expression expression,
int hour) |
static Expression |
PostgreSql.minusHour(String dateString,
int hour) |
static Expression |
AnsiFunctions.mod(Expression expression1,
Expression expression2) |
static Expression |
ClickHouseFunctions.monthDiff(Expression startTime,
Expression endTime) |
static Expression |
ClickHouseFunctions.notEmpty(Expression expression) |
static Expression |
SqliteFunctions.notEmpty(String dateString) |
static Expression |
ClickHouseFunctions.notEmpty(String string) |
static Expression |
PostgreSql.notSimilar(Expression expression,
String pattern) |
static Expression |
AnsiFunctions.now() |
static Expression |
ClickHouseFunctions.now() |
static Expression |
MySQLFunctions.pow(Expression expression) |
static Expression |
AnsiFunctions.power(Expression expression,
Integer power) |
static Expression |
AnsiFunctions.power(Float literal,
Integer power) |
static Expression |
AnsiFunctions.power(Integer literal,
Integer power) |
static Expression |
ClickHouseFunctions.quantile(float level,
Expression expression) |
static Expression |
ClickHouseFunctions.quantileExact(float level,
Expression expression) |
static Expression |
ClickHouseFunctions.quantileExactWeighted(float level,
Expression expression) |
static Expression |
AnsiFunctions.radians(Expression expression) |
static Expression |
AnsiFunctions.radians(Float literal) |
static Expression |
AnsiFunctions.radians(Integer literal) |
static Expression |
MySQLFunctions.rand() |
static Expression |
MySQLFunctions.rand(Integer seed) |
static Expression |
MySQLFunctions.regexpLike(Expression expression,
String regexp) |
static Expression |
ClickHouseFunctions.round(Expression expression) |
static Expression |
AnsiFunctions.rtrim(Expression... expressions) |
static Expression |
MySQLFunctions.sha(Expression expression) |
static Expression |
MySQLFunctions.sha(String literal) |
static Expression |
MySQLFunctions.sha1(Expression expression) |
static Expression |
MySQLFunctions.sha1(String literal) |
static Expression |
PostgreSql.similar(Expression expression,
String pattern) |
static Expression |
AnsiFunctions.sin(Double literal) |
static Expression |
AnsiFunctions.sin(Expression expression) |
static Expression |
AnsiFunctions.sin(Float literal) |
static Expression |
AnsiFunctions.sin(Integer literal) |
static Expression |
AnsiFunctions.sqlIf(Expression expression,
Expression expression1,
Expression expression2) |
static Expression |
AnsiFunctions.sqrt(Expression expression) |
static Expression |
AnsiFunctions.sqrt(Float literal) |
static Expression |
AnsiFunctions.sqrt(Integer literal) |
static Expression |
ClickHouseFunctions.startsWith(Expression expression) |
static Expression |
ClickHouseFunctions.startsWith(String str) |
static Expression |
MySQLFunctions.strToDate(Expression expression,
String format) |
static Expression |
MySQLFunctions.strToDate(String str,
String format) |
static Expression |
MySQLFunctions.subDate(Expression expression,
int day) |
static Expression |
MySQLFunctions.subDate(String dataString,
int day) |
static Expression |
AnsiFunctions.substr(Expression expression) |
static Expression |
AnsiFunctions.subStr(Expression expression,
int length) |
static Expression |
AnsiFunctions.substr(String literal) |
static Expression |
ClickHouseFunctions.subtractDays(Expression timeString,
int delta) |
static Expression |
ClickHouseFunctions.subtractDays(String timeString,
int delta) |
static Expression |
ClickHouseFunctions.subtractHours(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.subtractHours(String timeString,
int delta) |
static Expression |
ClickHouseFunctions.subtractMonths(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.subtractMonths(String timeString,
int delta) |
static Expression |
ClickHouseFunctions.subtractYears(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.subtractYears(String timeString,
int delta) |
static Expression |
AnsiFunctions.sum(Expression expression) |
static Expression |
AnsiFunctions.tan(Double literal) |
static Expression |
AnsiFunctions.tan(Expression expression) |
static Expression |
AnsiFunctions.tan(Float literal) |
static Expression |
AnsiFunctions.tan(Integer literal) |
static Expression |
OracleFunctions.timestamp(String string) |
static Expression |
MySQLFunctions.toBase64(Expression expression) |
static Expression |
MySQLFunctions.toBase64(String str) |
static Expression |
ClickHouseFunctions.toDate(Expression expression) |
static Expression |
OracleFunctions.toDate(Expression expression,
String format) |
static Expression |
MySQLFunctions.toDate(String str) |
static Expression |
ClickHouseFunctions.toDate(String dateString) |
static Expression |
PostgreSql.toDate(String str) |
static Expression |
ClickHouseFunctions.toDateTime(Expression expression) |
static Expression |
MySQLFunctions.toDateTime(String str) |
static Expression |
ClickHouseFunctions.toDateTime(String datetimeString) |
static Expression |
PostgreSql.toDateTime(String str) |
static Expression |
OracleFunctions.toDateYYYY_MM_DD_hh_mi_ss(Expression expression,
String format) |
static Expression |
OracleFunctions.toDateYYYY_MM_DD(Expression expression,
String format) |
static Expression |
ClickHouseFunctions.today() |
static Expression |
ClickHouseFunctions.toDayOfMonth(Expression expression) |
static Expression |
ClickHouseFunctions.toDayOfWeek(Expression expression) |
static Expression |
ClickHouseFunctions.toDayOfYear(Expression expression) |
static Expression |
ClickHouseFunctions.toDecimal128(Expression value,
String scale) |
static Expression |
ClickHouseFunctions.toDecimal32(Expression value,
String scale) |
static Expression |
ClickHouseFunctions.toDecimal64(Expression value,
String scale) |
static Expression |
ClickHouseFunctions.toFloat32(Expression expression) |
static Expression |
ClickHouseFunctions.toFloat64(Expression expression) |
static Expression |
ClickHouseFunctions.toHour(Expression expression) |
static Expression |
ClickHouseFunctions.toInt16(Expression expression) |
static Expression |
ClickHouseFunctions.toInt16(Integer literal) |
static Expression |
ClickHouseFunctions.toInt16(String str) |
static Expression |
ClickHouseFunctions.toInt32(Expression expression) |
static Expression |
ClickHouseFunctions.toInt32(Integer literal) |
static Expression |
ClickHouseFunctions.toInt32(String str) |
static Expression |
ClickHouseFunctions.toInt64(Expression expression) |
static Expression |
ClickHouseFunctions.toInt64(Integer literal) |
static Expression |
ClickHouseFunctions.toInt64(String str) |
static Expression |
ClickHouseFunctions.toInt8(Expression expression) |
static Expression |
ClickHouseFunctions.toInt8(Integer literal) |
static Expression |
ClickHouseFunctions.toInt8(String str) |
static Expression |
ClickHouseFunctions.toMinute(Expression expression) |
static Expression |
ClickHouseFunctions.toMonth(Expression expression) |
static Expression |
ClickHouseFunctions.toSecond(Expression expression) |
static Expression |
ClickHouseFunctions.toStartOfMonth(Expression expression) |
static Expression |
ClickHouseFunctions.toStartOfMonth(String datetimeString) |
static Expression |
ClickHouseFunctions.toString(Expression expression) |
static Expression |
ClickHouseFunctions.toString(Expression expression,
Expression formatter) |
static Expression |
OracleFunctions.toTimestamp(Expression expression,
String format) |
static Expression |
OracleFunctions.toTimestampYYYY_MM_DD_hh_mi_ss(Expression expression,
String format) |
static Expression |
OracleFunctions.toTimestampYYYY_MM_DD(Expression expression,
String format) |
static Expression |
ClickHouseFunctions.toUInt16(Expression expression) |
static Expression |
ClickHouseFunctions.toUInt16(String str) |
static Expression |
ClickHouseFunctions.toUInt32(Expression expression) |
static Expression |
ClickHouseFunctions.toUInt32(String str) |
static Expression |
ClickHouseFunctions.toUInt64(Expression expression) |
static Expression |
ClickHouseFunctions.toUInt64(String str) |
static Expression |
ClickHouseFunctions.toUInt8(Expression expression) |
static Expression |
ClickHouseFunctions.toUInt8(Integer literal) |
static Expression |
ClickHouseFunctions.toUInt8(String str) |
static Expression |
ClickHouseFunctions.toUnixTimestamp(Expression expression) |
static Expression |
ClickHouseFunctions.toUnixTimestamp(Expression expression,
Expression timeZone) |
static Expression |
ClickHouseFunctions.toUUID(Expression expression) |
static Expression |
ClickHouseFunctions.toUUID(String literal) |
static Expression |
ClickHouseFunctions.toYear(Expression expression) |
static Expression |
ClickHouseFunctions.toYYYYMM(Expression expression) |
static Expression |
ClickHouseFunctions.toYYYYMMDD(Expression expression) |
static Expression |
ClickHouseFunctions.toYYYYMMDDhhmmss(Expression expression) |
static Expression |
AnsiFunctions.trim(Expression... expressions) |
static Expression |
MySQLFunctions.truncate(Expression expression,
Integer decimalPlaces) |
static Expression |
MySQLFunctions.truncate(Float number,
Integer decimalPlaces) |
static Expression |
MySQLFunctions.truncate(Integer number,
Integer decimalPlaces) |
static Expression |
PostgreSql.truncateDay(Expression expression) |
static Expression |
PostgreSql.truncateHour(Expression expression) |
static Expression |
MySQLFunctions.unhex(Expression expression) |
static Expression |
ClickHouseFunctions.unhex(Expression expression) |
static Expression |
MySQLFunctions.unhex(String str) |
static Expression |
ClickHouseFunctions.unhex(String str) |
static Expression |
AnsiFunctions.upper(Expression expression) |
static Expression |
AnsiFunctions.upper(String literal) |
static Expression |
MySQLFunctions.uuid() |
static Expression |
MySQLFunctions.uuidShort() |
static Expression |
ClickHouseFunctions.yesterday() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Expression |
AnsiFunctions.abs(Expression expression) |
static Expression |
AnsiFunctions.acos(Expression expression) |
static Expression |
PostgreSql.addDate(Expression expression,
int day) |
static Expression |
ClickHouseFunctions.addDays(Expression expression,
int delta) |
static Expression |
PostgreSql.addHour(Expression expression,
int hour) |
static Expression |
ClickHouseFunctions.addHours(Expression expression,
int delta) |
static Expression |
OracleFunctions.addMonth(Expression expression,
Integer delta) |
static Expression |
ClickHouseFunctions.addMonths(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.addWeeks(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.addYears(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.any(Expression expression) |
static Expression |
AnsiFunctions.asin(Expression expression) |
static Expression |
AnsiFunctions.atan(Expression expression) |
static Expression |
AnsiFunctions.avg(Expression expression) |
static Expression |
ClickHouseFunctions.base64Decode(Expression expression) |
static Expression |
ClickHouseFunctions.base64Encode(Expression expression) |
static Expression |
ClickHouseFunctions.cast(Expression expression,
Expression dataType) |
static Expression |
AnsiFunctions.ceil(Expression expression) |
static Expression |
AnsiFunctions.concat(Expression... expressions) |
static Expression |
MySQLFunctions.concatWs(String delimiter,
Expression... expressions) |
static Expression |
PostgreSql.concatWs(String delimiter,
Expression... expressions) |
static Expression |
AnsiFunctions.cos(Expression expression) |
static Expression |
OracleFunctions.cosh(Expression expression) |
static Expression |
AnsiFunctions.count(Expression expression)
Returns number of input rows for which the value of expression is not null.
|
static Expression |
AnsiFunctions.countDistinct(Expression expression)
Returns number of input rows for which the value of expression is not null
and column value is distinct.
|
static Expression |
ClickHouseFunctions.crc32(Expression expression) |
static Expression |
MySQLFunctions.date(Expression expression) |
static Expression |
MySQLFunctions.dateAdd(Expression expression,
int day) |
static Expression |
MySQLFunctions.dateDiff(Expression expression,
Expression expression1) |
static Expression |
MySQLFunctions.dateDiff(Expression expression,
String dataString) |
static Expression |
MySQLFunctions.dateDiff(String dataString,
Expression expression) |
static Expression |
ClickHouseFunctions.dateDiff(String unit,
Expression startTime,
Expression endTime) |
static Expression |
MySQLFunctions.dateSub(Expression expression,
int day) |
static Expression |
ClickHouseFunctions.dayDiff(Expression startTime,
Expression endTime) |
static Expression |
MySQLFunctions.dayOfMonth(Expression expression) |
static Expression |
MySQLFunctions.dayOfWeek(Expression expression) |
static Expression |
MySQLFunctions.dayOfYear(Expression expression) |
static Expression |
ClickHouseFunctions.empty(Expression expression) |
static Expression |
ClickHouseFunctions.endsWith(Expression expression) |
static Expression |
PostgreSql.enumFirst(Expression expression) |
static Expression |
PostgreSql.enumLast(Expression expression) |
static Expression |
PostgreSql.enumRange(Expression... expressions) |
static Expression |
PostgreSql.enumRange(Expression expression) |
static Expression |
AnsiFunctions.exp(Expression expression) |
static Expression |
MySQLFunctions.extract(String unit,
Expression expression)
The unit see: https://dev.mysql.com/doc/refman/8.0/en/expressions.html#temporal-intervals
|
static Expression |
PostgreSql.extract(String field,
Expression expression) |
static Expression |
MySQLFunctions.extractDay(Expression expression) |
static Expression |
MySQLFunctions.extractDayHour(Expression expression) |
static Expression |
PostgreSql.extractDayOfYear(Expression expression) |
static Expression |
MySQLFunctions.extractHour(Expression expression) |
static Expression |
PostgreSql.extractHour(Expression expression) |
static Expression |
PostgreSql.extractMonth(Expression expression) |
static Expression |
PostgreSql.extractQuarter(Expression expression) |
static Expression |
MySQLFunctions.extractWeek(Expression expression) |
static Expression |
PostgreSql.extractWeek(Expression expression) |
static Expression |
MySQLFunctions.extractYear(Expression expression) |
static Expression |
PostgreSql.extractYear(Expression expression) |
static Expression |
MySQLFunctions.extractYearMonth(Expression expression) |
static Expression |
ClickHouseFunctions.farmHash64(Expression expression) |
static Expression |
AnsiFunctions.floor(Expression expression) |
static Expression |
MySQLFunctions.format(Expression expression,
int num) |
static Expression |
ClickHouseFunctions.formatDateTime(Expression time,
Expression formatter) |
static Expression |
ClickHouseFunctions.formatDateTime(Expression time,
Expression formatter,
Expression timeZone) |
static Expression |
MySQLFunctions.fromBase64(Expression expression) |
static Expression |
MySQLFunctions.fromUnixtime(Expression expression) |
static Expression |
ClickHouseFunctions.fromUnixTime(Expression timeStamp) |
static Expression |
ClickHouseFunctions.fromUnixTime(Expression timeStamp,
Expression formatter) |
static Expression |
AnsiFunctions.groupConcat(Expression... expressions) |
static Expression |
MySQLFunctions.hex(Expression expression) |
static Expression |
ClickHouseFunctions.hex(Expression expression) |
static Expression |
ClickHouseFunctions.hiveHash(Expression expression) |
static Expression |
ClickHouseFunctions.hourDiff(Expression startTime,
Expression endTime) |
static Expression |
ClickHouseFunctions.isNotNull(Expression expression) |
static Expression |
ClickHouseFunctions.isNull(Expression expression) |
static Expression |
ClickHouseFunctions.javaHash(Expression expression) |
static Expression |
MySQLFunctions.lastDay(Expression expression)
Return the last day of the month for the argument
|
static Expression |
AnsiFunctions.left(Expression expression) |
static Expression |
AnsiFunctions.length(Expression expression) |
static Expression |
AnsiFunctions.ln(Expression expression) |
static Expression |
AnsiFunctions.log(Expression expression) |
static Expression |
AnsiFunctions.log10(Expression expression) |
static Expression |
AnsiFunctions.log2(Expression expression) |
static Expression |
AnsiFunctions.lower(Expression expression) |
static Expression |
AnsiFunctions.ltrim(Expression... expressions) |
static Expression |
AnsiFunctions.max(Expression expression) |
static Expression |
MySQLFunctions.md5(Expression expression) |
static Expression |
ClickHouseFunctions.md5(Expression expression) |
static Expression |
PostgreSql.md5(Expression expression) |
static Expression |
AnsiFunctions.min(Expression expression) |
static Expression |
PostgreSql.minusDate(Expression expression,
int day) |
static Expression |
PostgreSql.minusHour(Expression expression,
int hour) |
static Expression |
AnsiFunctions.mod(Expression expression1,
Expression expression2) |
static Expression |
ClickHouseFunctions.monthDiff(Expression startTime,
Expression endTime) |
static Expression |
ClickHouseFunctions.notEmpty(Expression expression) |
static Expression |
PostgreSql.notSimilar(Expression expression,
String pattern) |
static Expression |
MySQLFunctions.pow(Expression expression) |
static Expression |
AnsiFunctions.power(Expression expression,
Integer power) |
static Expression |
ClickHouseFunctions.quantile(float level,
Expression expression) |
static Expression |
ClickHouseFunctions.quantileExact(float level,
Expression expression) |
static Expression |
ClickHouseFunctions.quantileExactWeighted(float level,
Expression expression) |
static Expression |
AnsiFunctions.radians(Expression expression) |
static Expression |
MySQLFunctions.regexpLike(Expression expression,
String regexp) |
static Expression |
ClickHouseFunctions.round(Expression expression) |
static Expression |
AnsiFunctions.rtrim(Expression... expressions) |
static Expression |
MySQLFunctions.sha(Expression expression) |
static Expression |
MySQLFunctions.sha1(Expression expression) |
static Expression |
PostgreSql.similar(Expression expression,
String pattern) |
static Expression |
AnsiFunctions.sin(Expression expression) |
static CaseExpression |
AnsiFunctions.sqlCase(Expression caseExpr) |
static Expression |
AnsiFunctions.sqlIf(Expression expression,
Expression expression1,
Expression expression2) |
static Expression |
AnsiFunctions.sqrt(Expression expression) |
static Expression |
ClickHouseFunctions.startsWith(Expression expression) |
static Expression |
MySQLFunctions.strToDate(Expression expression,
String format) |
static Expression |
MySQLFunctions.subDate(Expression expression,
int day) |
static Expression |
AnsiFunctions.substr(Expression expression) |
static Expression |
AnsiFunctions.subStr(Expression expression,
int length) |
static Expression |
ClickHouseFunctions.subtractDays(Expression timeString,
int delta) |
static Expression |
ClickHouseFunctions.subtractHours(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.subtractMonths(Expression expression,
int delta) |
static Expression |
ClickHouseFunctions.subtractYears(Expression expression,
int delta) |
static Expression |
AnsiFunctions.sum(Expression expression) |
static Expression |
AnsiFunctions.tan(Expression expression) |
static Expression |
MySQLFunctions.toBase64(Expression expression) |
static Expression |
ClickHouseFunctions.toDate(Expression expression) |
static Expression |
OracleFunctions.toDate(Expression expression,
String format) |
static Expression |
ClickHouseFunctions.toDateTime(Expression expression) |
static Expression |
OracleFunctions.toDateYYYY_MM_DD_hh_mi_ss(Expression expression,
String format) |
static Expression |
OracleFunctions.toDateYYYY_MM_DD(Expression expression,
String format) |
static Expression |
ClickHouseFunctions.toDayOfMonth(Expression expression) |
static Expression |
ClickHouseFunctions.toDayOfWeek(Expression expression) |
static Expression |
ClickHouseFunctions.toDayOfYear(Expression expression) |
static Expression |
ClickHouseFunctions.toDecimal128(Expression value,
String scale) |
static Expression |
ClickHouseFunctions.toDecimal32(Expression value,
String scale) |
static Expression |
ClickHouseFunctions.toDecimal64(Expression value,
String scale) |
static Expression |
ClickHouseFunctions.toFloat32(Expression expression) |
static Expression |
ClickHouseFunctions.toFloat64(Expression expression) |
static Expression |
ClickHouseFunctions.toHour(Expression expression) |
static Expression |
ClickHouseFunctions.toInt16(Expression expression) |
static Expression |
ClickHouseFunctions.toInt32(Expression expression) |
static Expression |
ClickHouseFunctions.toInt64(Expression expression) |
static Expression |
ClickHouseFunctions.toInt8(Expression expression) |
static Expression |
ClickHouseFunctions.toMinute(Expression expression) |
static Expression |
ClickHouseFunctions.toMonth(Expression expression) |
static Expression |
ClickHouseFunctions.toSecond(Expression expression) |
static Expression |
ClickHouseFunctions.toStartOfMonth(Expression expression) |
static Expression |
ClickHouseFunctions.toString(Expression expression) |
static Expression |
ClickHouseFunctions.toString(Expression expression,
Expression formatter) |
static Expression |
OracleFunctions.toTimestamp(Expression expression,
String format) |
static Expression |
OracleFunctions.toTimestampYYYY_MM_DD_hh_mi_ss(Expression expression,
String format) |
static Expression |
OracleFunctions.toTimestampYYYY_MM_DD(Expression expression,
String format) |
static Expression |
ClickHouseFunctions.toUInt16(Expression expression) |
static Expression |
ClickHouseFunctions.toUInt32(Expression expression) |
static Expression |
ClickHouseFunctions.toUInt64(Expression expression) |
static Expression |
ClickHouseFunctions.toUInt8(Expression expression) |
static Expression |
ClickHouseFunctions.toUnixTimestamp(Expression expression) |
static Expression |
ClickHouseFunctions.toUnixTimestamp(Expression expression,
Expression timeZone) |
static Expression |
ClickHouseFunctions.toUUID(Expression expression) |
static Expression |
ClickHouseFunctions.toYear(Expression expression) |
static Expression |
ClickHouseFunctions.toYYYYMM(Expression expression) |
static Expression |
ClickHouseFunctions.toYYYYMMDD(Expression expression) |
static Expression |
ClickHouseFunctions.toYYYYMMDDhhmmss(Expression expression) |
static Expression |
AnsiFunctions.trim(Expression... expressions) |
static Expression |
MySQLFunctions.truncate(Expression expression,
Integer decimalPlaces) |
static Expression |
PostgreSql.truncateDay(Expression expression) |
static Expression |
PostgreSql.truncateHour(Expression expression) |
static Expression |
MySQLFunctions.unhex(Expression expression) |
static Expression |
ClickHouseFunctions.unhex(Expression expression) |
static Expression |
AnsiFunctions.upper(Expression expression) |
Copyright © 2020 com.github.braisdom. All rights reserved.