Class GeoSearchStoreCommand
- java.lang.Object
-
- com.moilioncircle.redis.replicator.event.AbstractEvent
-
- com.moilioncircle.redis.replicator.cmd.impl.AbstractCommand
-
- com.moilioncircle.redis.replicator.cmd.impl.GeoSearchStoreCommand
-
- All Implemented Interfaces:
Command,Event,Serializable
@CommandSpec(command="GEOSEARCHSTORE") public class GeoSearchStoreCommand extends AbstractCommand
- Since:
- 3.5.0
- Author:
- Leon Chen
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.moilioncircle.redis.replicator.event.Event
Event.Context
-
-
Field Summary
-
Fields inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
context
-
-
Constructor Summary
Constructors Constructor Description GeoSearchStoreCommand()GeoSearchStoreCommand(byte[] destination, byte[] source, FromMember fromMember, FromLonLat fromLonLat, ByRadius byRadius, ByBox byBox, Count count, OrderType orderType, boolean withCoord, boolean withDist, boolean withHash, boolean storeDist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByBoxgetByBox()ByRadiusgetByRadius()CountgetCount()byte[]getDestination()FromLonLatgetFromLonLat()FromMembergetFromMember()OrderTypegetOrderType()byte[]getSource()booleanisStoreDist()booleanisWithCoord()booleanisWithDist()booleanisWithHash()voidsetByBox(ByBox byBox)voidsetByRadius(ByRadius byRadius)voidsetCount(Count count)voidsetDestination(byte[] destination)voidsetFromLonLat(FromLonLat fromLonLat)voidsetFromMember(FromMember fromMember)voidsetOrderType(OrderType orderType)voidsetSource(byte[] source)voidsetStoreDist(boolean storeDist)voidsetWithCoord(boolean withCoord)voidsetWithDist(boolean withDist)voidsetWithHash(boolean withHash)-
Methods inherited from class com.moilioncircle.redis.replicator.event.AbstractEvent
getContext, setContext
-
-
-
-
Constructor Detail
-
GeoSearchStoreCommand
public GeoSearchStoreCommand()
-
GeoSearchStoreCommand
public GeoSearchStoreCommand(byte[] destination, byte[] source, FromMember fromMember, FromLonLat fromLonLat, ByRadius byRadius, ByBox byBox, Count count, OrderType orderType, boolean withCoord, boolean withDist, boolean withHash, boolean storeDist)
-
-
Method Detail
-
getDestination
public byte[] getDestination()
-
setDestination
public void setDestination(byte[] destination)
-
getSource
public byte[] getSource()
-
setSource
public void setSource(byte[] source)
-
getFromMember
public FromMember getFromMember()
-
setFromMember
public void setFromMember(FromMember fromMember)
-
getFromLonLat
public FromLonLat getFromLonLat()
-
setFromLonLat
public void setFromLonLat(FromLonLat fromLonLat)
-
getByRadius
public ByRadius getByRadius()
-
setByRadius
public void setByRadius(ByRadius byRadius)
-
getByBox
public ByBox getByBox()
-
setByBox
public void setByBox(ByBox byBox)
-
getCount
public Count getCount()
-
setCount
public void setCount(Count count)
-
getOrderType
public OrderType getOrderType()
-
setOrderType
public void setOrderType(OrderType orderType)
-
isWithCoord
public boolean isWithCoord()
-
setWithCoord
public void setWithCoord(boolean withCoord)
-
isWithDist
public boolean isWithDist()
-
setWithDist
public void setWithDist(boolean withDist)
-
isWithHash
public boolean isWithHash()
-
setWithHash
public void setWithHash(boolean withHash)
-
isStoreDist
public boolean isStoreDist()
-
setStoreDist
public void setStoreDist(boolean storeDist)
-
-