| Package | Description |
|---|---|
| org.seasar.doma.jdbc.criteria.context |
Provides contexts and settings used to build the criteria query statements.
|
| org.seasar.doma.jdbc.criteria.declaration |
Provides classes that build the criteria query statements.
|
| org.seasar.doma.jdbc.criteria.option |
Provides options used to build the criteria query statement.
|
| Modifier and Type | Field and Description |
|---|---|
LikeOption |
Criterion.Like.option |
LikeOption |
Criterion.NotLike.option |
| Constructor and Description |
|---|
Like(Operand.Prop left,
java.lang.CharSequence right,
LikeOption option) |
NotLike(Operand.Prop left,
java.lang.CharSequence right,
LikeOption option) |
| Modifier and Type | Method and Description |
|---|---|
void |
ComparisonDeclaration.like(PropertyMetamodel<?> left,
java.lang.CharSequence right,
LikeOption option)
Adds a
LIKE operator. |
void |
ComparisonDeclaration.notLike(PropertyMetamodel<?> left,
java.lang.CharSequence right,
LikeOption option)
Adds a
NOT LIKE operator. |
| Modifier and Type | Class and Description |
|---|---|
static class |
LikeOption.Escape |
static class |
LikeOption.Infix |
static class |
LikeOption.None |
static class |
LikeOption.Prefix |
static class |
LikeOption.Suffix |
| Modifier and Type | Method and Description |
|---|---|
static LikeOption |
LikeOption.escape()
Indicates that the option escapes the LIKE operand with the default escape character $.
|
static LikeOption |
LikeOption.escape(char escapeChar)
Indicates that the option escapes the LIKE operand with
escapeChar. |
static LikeOption |
LikeOption.infix()
Indicates that the option escape the LIKE operand with the default escape character $ and concatenates a wildcard at the start and the end.
|
static LikeOption |
LikeOption.infix(char escapeChar)
Indicates that the option escape the LIKE operand with
escapeChar and concatenates a
wildcard at the start and the end. |
static LikeOption |
LikeOption.none()
Indicates that the option does nothing.
|
static LikeOption |
LikeOption.prefix()
Indicates that the option escape the LIKE operand with the default escape character $ and concatenates a wildcard at the end.
|
static LikeOption |
LikeOption.prefix(char escapeChar)
Indicates that the option escape the LIKE operand with
escapeChar and concatenates a
wildcard at the end. |
static LikeOption |
LikeOption.suffix()
Indicates that the option escape the LIKE operand with the default escape character $ and concatenates a wildcard at the start.
|
static LikeOption |
LikeOption.suffix(char escapeChar)
Indicates that the option escape the LIKE operand with
escapeChar and concatenates a
wildcard at the start. |