Class Polygon
java.lang.Object
io.nosqlbench.datamappers.functions.geometry.Polygon
- All Implemented Interfaces:
LongFunction<com.datastax.dse.driver.api.core.data.geometry.Polygon>
public class Polygon
extends Object
implements LongFunction<com.datastax.dse.driver.api.core.data.geometry.Polygon>
Create a com.datastax.driver.dse.geometry.Polygon
-
Constructor Summary
ConstructorsConstructorDescriptionPolygon(int len, LongFunction<com.datastax.dse.driver.api.core.data.geometry.Point> pointfunc) Polygon(LongToIntFunction lenfunc, LongFunction<com.datastax.dse.driver.api.core.data.geometry.Point> pointfunc) Polygon(LongToIntFunction lenfunc, LongToDoubleFunction xfunc, LongToDoubleFunction yfunc) -
Method Summary
Modifier and TypeMethodDescriptioncom.datastax.dse.driver.api.core.data.geometry.Polygonapply(long value)
-
Constructor Details
-
Polygon
public Polygon(LongToIntFunction lenfunc, LongFunction<com.datastax.dse.driver.api.core.data.geometry.Point> pointfunc) -
Polygon
-
Polygon
public Polygon(int len, LongFunction<com.datastax.dse.driver.api.core.data.geometry.Point> pointfunc)
-
-
Method Details
-
apply
public com.datastax.dse.driver.api.core.data.geometry.Polygon apply(long value) - Specified by:
applyin interfaceLongFunction<com.datastax.dse.driver.api.core.data.geometry.Polygon>
-