B - The type of the bridge.public interface GeoPointBridgeBuilder<B> extends BridgeBuilder<B>
GeoPoint field, representing a point on earth.
These fields allow spatial predicates such as "within" (is the point within a circle, a bounding box, ...), sorts by distance to another point, ...
GeoPointBridge,
forType(),
forProperty(),
latitude(),
longitude()| Type | Property and Description |
|---|---|
static GeoPointBridgeBuilder<? extends PropertyBridge> |
for |
| Modifier and Type | Method and Description |
|---|---|
GeoPointBridgeBuilder<B> |
fieldName(String fieldName) |
static GeoPointBridgeBuilder<? extends PropertyBridge> |
forProperty() |
static GeoPointBridgeBuilder<? extends TypeBridge> |
forType() |
static LatitudeLongitudeMarkerBuilder |
latitude() |
static LatitudeLongitudeMarkerBuilder |
longitude() |
GeoPointBridgeBuilder<B> |
markerSet(String markerSet) |
GeoPointBridgeBuilder<B> |
projectable(Projectable projectable) |
GeoPointBridgeBuilder<B> |
sortable(Sortable sortable) |
buildstatic GeoPointBridgeBuilder<? extends PropertyBridge> forProperty
GeoPointBridgeBuilder<B> fieldName(String fieldName)
fieldName - The name of the GeoPoint field.
If used on a property, this defaults to the name of that property.
Otherwise, the name must be defined explicitly.this, for method chaining.GeoPointBridgeBuilder<B> projectable(Projectable projectable)
projectable - Whether projections are enabled for the GeoPoint field.this, for method chaining.GenericField.projectable(),
ProjectableGeoPointBridgeBuilder<B> sortable(Sortable sortable)
sortable - Whether the GeoPoint field should be sortable by distance.this, for method chaining.GenericField.sortable(),
SortableGeoPointBridgeBuilder<B> markerSet(String markerSet)
markerSet - The name of the "marker set".
This is used to discriminate between multiple pairs of latitude/longitude markers:
assign a marker set when building each marker,
then select the marker set here.this, for method chaining.static GeoPointBridgeBuilder<? extends TypeBridge> forType()
GeoPointBridgeBuilder for use on a type.static GeoPointBridgeBuilder<? extends PropertyBridge> forProperty()
static LatitudeLongitudeMarkerBuilder latitude()
LatitudeLongitudeMarkerBuilderstatic LatitudeLongitudeMarkerBuilder longitude()
LatitudeLongitudeMarkerBuilderCopyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.