public class GeoFieldArgs extends FieldArgs
Geo fields are used to store geographical coordinates such as longitude and latitude. They enable geospatial radius queries, which allow you to implement location-based search functionality in your applications such as finding nearby restaurants, stores, or any other points of interest.
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoFieldArgs.Builder
Builder for
GeoFieldArgs. |
as, indexEmpty, indexMissing, name, noIndex, sortable, unNormalizedForm| Constructor and Description |
|---|
GeoFieldArgs() |
| Modifier and Type | Method and Description |
|---|---|
static GeoFieldArgs.Builder |
builder()
Create a new
GeoFieldArgs using the builder pattern. |
protected void |
buildTypeSpecificArgs(CommandArgs<?,?> args)
Add type-specific arguments to the command.
|
String |
getFieldType()
Returns the field type.
|
build, getAs, getName, isIndexEmpty, isIndexMissing, isNoIndex, isSortable, isUnNormalizedFormpublic static GeoFieldArgs.Builder builder()
GeoFieldArgs using the builder pattern.GeoFieldArgs.Builderpublic String getFieldType()
FieldArgsgetFieldType in class FieldArgsprotected void buildTypeSpecificArgs(CommandArgs<?,?> args)
FieldArgsbuildTypeSpecificArgs in class FieldArgsargs - the command arguments to modifyCopyright © 2026 lettuce.io. All rights reserved.