public class GeoshapeFieldArgs extends FieldArgs
Geoshape fields provide more advanced functionality than GEO fields. You can use them to represent locations as points but also to define shapes and query the interactions between points and shapes (for example, to find all points that are contained within an enclosing shape). You can also choose between geographical coordinates (on the surface of a sphere) or standard Cartesian coordinates.
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoshapeFieldArgs.Builder
Builder for
GeoshapeFieldArgs. |
static class |
GeoshapeFieldArgs.CoordinateSystem
Coordinate system for geoshape fields.
|
as, indexEmpty, indexMissing, name, noIndex, sortable, unNormalizedForm| Constructor and Description |
|---|
GeoshapeFieldArgs() |
| Modifier and Type | Method and Description |
|---|---|
static GeoshapeFieldArgs.Builder |
builder()
Create a new
GeoshapeFieldArgs using the builder pattern. |
protected void |
buildTypeSpecificArgs(CommandArgs<?,?> args)
Add type-specific arguments to the command.
|
Optional<GeoshapeFieldArgs.CoordinateSystem> |
getCoordinateSystem()
Get the coordinate system.
|
String |
getFieldType()
Returns the field type.
|
build, getAs, getName, isIndexEmpty, isIndexMissing, isNoIndex, isSortable, isUnNormalizedFormpublic static GeoshapeFieldArgs.Builder builder()
GeoshapeFieldArgs using the builder pattern.GeoshapeFieldArgs.Builderpublic String getFieldType()
FieldArgsgetFieldType in class FieldArgspublic Optional<GeoshapeFieldArgs.CoordinateSystem> getCoordinateSystem()
protected void buildTypeSpecificArgs(CommandArgs<?,?> args)
FieldArgsbuildTypeSpecificArgs in class FieldArgsargs - the command arguments to modifyCopyright © 2026 lettuce.io. All rights reserved.