public static class PojoModelPath.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
PojoModelPath.Builder |
property(String propertyName)
Append to the path an access the property with the given name.
|
PojoModelPathPropertyNode |
toPropertyPath() |
PojoModelPathPropertyNode |
toPropertyPathOrNull() |
PojoModelPathValueNode |
toValuePath() |
PojoModelPathValueNode |
toValuePathOrNull() |
PojoModelPath.Builder |
value(ContainerExtractorPath extractorPath)
Append to the path a value extraction using the given container extractor path.
|
PojoModelPath.Builder |
value(String extractorName)
Append to the path a value extraction using the given container extractor.
|
PojoModelPath.Builder |
valueWithDefaultExtractors()
Append to the path a value extraction using the default container extractors.
|
PojoModelPath.Builder |
valueWithoutExtractors()
Append to the path a direct value extraction, not using any container extractors.
|
public PojoModelPath.Builder property(String propertyName)
propertyName - The name of the property to access.this, for method chaining.org.hibernate.search.util.common.SearchException - If no property name was previously given.public PojoModelPath.Builder value(ContainerExtractorPath extractorPath)
extractorPath - The container extractors to apply, as a ContainerExtractorPath.this, for method chaining.org.hibernate.search.util.common.SearchException - If no property name was previously given.public PojoModelPath.Builder value(String extractorName)
Multiple value(String) calls can be chained to apply multiple extractors.
extractorName - The name of the container extractor to apply.this, for method chaining.org.hibernate.search.util.common.SearchException - If no property name was previously given.BuiltinContainerExtractorspublic PojoModelPath.Builder valueWithoutExtractors()
this, for method chaining.org.hibernate.search.util.common.SearchException - If no property name was previously given.public PojoModelPath.Builder valueWithDefaultExtractors()
this, for method chaining.org.hibernate.search.util.common.SearchException - If no property name was previously given.public PojoModelPathPropertyNode toPropertyPath()
PojoModelPathPropertyNode built from the given components.org.hibernate.search.util.common.SearchException - If no initial property name was given.public PojoModelPathPropertyNode toPropertyPathOrNull()
PojoModelPathPropertyNode built from the given components,
or null if no information was added to this builder.public PojoModelPathValueNode toValuePath()
PojoModelPathValueNode built from the given components.org.hibernate.search.util.common.SearchException - If no initial property name was given.public PojoModelPathValueNode toValuePathOrNull()
PojoModelPathValueNode built from the given components,
or null if no information was added to this builder.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.