Class FunctionHelpersXL
- java.lang.Object
-
- org.sheinbergon.dremio.udf.gis.util.FunctionHelpersXL
-
public final class FunctionHelpersXL extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intBIT_FALSEstatic intBIT_TRUEstatic intDEFAULT_SRID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisAPoint(org.locationtech.jts.geom.Geometry geometry)static booleanisHolderSet(org.apache.arrow.vector.holders.ValueHolder holder)static voidpopulate(byte[] bytes, org.apache.arrow.memory.ArrowBuf buffer, org.apache.arrow.vector.holders.NullableVarBinaryHolder output)static voidpopulate(byte[] bytes, org.apache.arrow.memory.ArrowBuf buffer, org.apache.arrow.vector.holders.NullableVarCharHolder output)static byte[]toBinary(org.locationtech.jts.geom.Geometry geometry)static inttoBitValue(boolean value)static byte[]toGeoJson(org.locationtech.jts.geom.Geometry geometry)static org.locationtech.jts.geom.GeometrytoGeometry(org.apache.arrow.vector.holders.NullableVarBinaryHolder holder)static org.locationtech.jts.geom.GeometrytoGeometry(org.apache.arrow.vector.holders.NullableVarCharHolder holder)static byte[]toText(org.locationtech.jts.geom.Geometry geometry)static StringtoUTF8String(org.apache.arrow.vector.holders.VarCharHolder holder)
-
-
-
Field Detail
-
BIT_TRUE
public static final int BIT_TRUE
- See Also:
- Constant Field Values
-
BIT_FALSE
public static final int BIT_FALSE
- See Also:
- Constant Field Values
-
DEFAULT_SRID
public static final int DEFAULT_SRID
- See Also:
- Constant Field Values
-
-
Method Detail
-
toUTF8String
public static String toUTF8String(@Nonnull org.apache.arrow.vector.holders.VarCharHolder holder)
-
toBinary
public static byte[] toBinary(@Nonnull org.locationtech.jts.geom.Geometry geometry)
-
toText
public static byte[] toText(@Nonnull org.locationtech.jts.geom.Geometry geometry)
-
toGeoJson
public static byte[] toGeoJson(@Nonnull org.locationtech.jts.geom.Geometry geometry)
-
toGeometry
@Nonnull public static org.locationtech.jts.geom.Geometry toGeometry(@Nonnull org.apache.arrow.vector.holders.NullableVarCharHolder holder)
-
toGeometry
public static org.locationtech.jts.geom.Geometry toGeometry(@Nonnull org.apache.arrow.vector.holders.NullableVarBinaryHolder holder)
-
toBitValue
public static int toBitValue(boolean value)
-
populate
public static void populate(@Nonnull byte[] bytes, @Nonnull org.apache.arrow.memory.ArrowBuf buffer, @Nonnull org.apache.arrow.vector.holders.NullableVarCharHolder output)
-
populate
public static void populate(@Nonnull byte[] bytes, @Nonnull org.apache.arrow.memory.ArrowBuf buffer, @Nonnull org.apache.arrow.vector.holders.NullableVarBinaryHolder output)
-
isAPoint
public static boolean isAPoint(@Nullable org.locationtech.jts.geom.Geometry geometry)
-
isHolderSet
public static boolean isHolderSet(@Nonnull org.apache.arrow.vector.holders.ValueHolder holder)
-
-