Package | Description |
---|---|
org.apache.openjpa.persistence.criteria |
OpenJPA Criteria Query
|
Modifier and Type | Class and Description |
---|---|
static class |
ComparisonStyle.Default
Default implementation.
|
Modifier and Type | Method and Description |
---|---|
ComparisonStyle |
OpenJPACriteriaBuilder.qbeStyle()
Create a mutable style to apply on query-by-example.
|
ComparisonStyle |
CriteriaBuilderImpl.qbeStyle()
Create a style to tune different aspects of comparison by example.
|
ComparisonStyle |
ComparisonStyle.setDisjunction(boolean flag)
Sets whether the comparison to OR the attribute comparisons.
|
ComparisonStyle |
ComparisonStyle.Default.setDisjunction(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeDefault(boolean flag)
Sets whether the comparison excludes default-valued attributes.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeDefault(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeIdentity(boolean flag)
Sets whether the comparison excludes identity attribute.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeIdentity(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeNull(boolean flag)
Sets whether the comparison excludes null-valued attributes.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeNull(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeVersion(boolean flag)
Sets whether the comparison excludes version attribute.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeVersion(boolean flag) |
ComparisonStyle |
ComparisonStyle.setStringComparisonMode(ComparisonStyle.StringComparisonMode mode)
Sets the comparison mode for String-valued attributes.
|
ComparisonStyle |
ComparisonStyle.Default.setStringComparisonMode(ComparisonStyle.StringComparisonMode mode) |
Modifier and Type | Method and Description |
---|---|
<T> Predicate |
OpenJPACriteriaBuilder.qbe(From<?,T> from,
T example,
ComparisonStyle style)
Overloaded with no extra attribute to exclude.
|
<T> Predicate |
CriteriaBuilderImpl.qbe(From<?,T> from,
T example,
ComparisonStyle style) |
<T> Predicate |
OpenJPACriteriaBuilder.qbe(From<?,T> from,
T example,
ComparisonStyle style,
Attribute<?,?>... excludes)
Create a predicate based upon the attribute values of a given
"example" entity instance.
|
<T> Predicate |
CriteriaBuilderImpl.qbe(From<?,T> from,
T example,
ComparisonStyle style,
Attribute<?,?>... excludes)
Create a predicate based upon the attribute values of a given
"example" entity instance.
|
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.