Primitive Predicates
For performance reasons, there are a number of primitive field types available in addition to the ReferenceField
type. By using a primitive field, unnecessary boxing and auto-boxing can be avoided. Primitive fields also generate primitive predicates like IntEqualPredicate
or LongEqualPredicate
.
The following primitive types and their corresponding field types are supported by JPAstreamer:
Primitive Type | Primitive Field Type | Example of Predicate implementations |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is something that is handled automatically by JPAstreamer under the hood and does not require any additional coding. The code will simply run faster with these specializations.