| Package | Description |
|---|---|
| org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
| org.apache.empire.db.expr.column |
This package contains SQL-generator classes for column expressions.
|
| Modifier and Type | Method and Description |
|---|---|
DBDecodeExpr |
DBColumnExpr.decode(Map<?,?> valueMap,
Object otherwise)
Creates and returns a sql-expression that compares the current column expression with
a list of values and returns the corresponding alternative value.
|
DBDecodeExpr |
DBColumnExpr.decode(Object key1,
Object value1,
Object otherwise) |
DBDecodeExpr |
DBColumnExpr.decode(Object key1,
Object value1,
Object key2,
Object value2,
Object otherwise) |
DBDecodeExpr |
DBColumnExpr.decode(Object key1,
Object value1,
Object key2,
Object value2,
Object key3,
Object value3,
Object otherwise) |
DBDecodeExpr |
DBColumnExpr.decode(Options options) |
DBDecodeExpr |
DBColumnExpr.decode(Options options,
Object otherwise) |
DBDecodeExpr |
DBColumnExpr.decodeEnum(Class<? extends Enum<?>> enumType,
String otherwise)
Creates and returns a sql-expression that maps enum values by name or ordinal to their string representation
|
DBDecodeExpr |
DBColumnExpr.decodeSort(Class<? extends Enum<?>> enumType,
boolean defaultToEnd)
Creates and returns a sql-expression that maps enum values from name to ordinal
This is useful for sorting.
|
| Modifier and Type | Method and Description |
|---|---|
DBDecodeExpr |
DBDecodeExpr.autoParam()
Automatically converts all literal values into Value expressions
|
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.