Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
package org.mobilitydb.flink.meos;

/* AUTO-GENERATED by tools/codegen/emit_h3_facade.py — do not edit by hand.
* H3 / th3index family facade over functions.GeneratedFunctions.
*/

import functions.GeneratedFunctions;
import jnr.ffi.Pointer;

public final class MeosOpsFreeH3 {

public static final boolean MEOS_AVAILABLE = MeosOpsRuntime.MEOS_AVAILABLE;

private MeosOpsFreeH3() { /* utility */ }

/** MEOS {@code always_eq_h3index_th3index} — H3 / th3index family. */
public static int always_eq_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"always_eq_h3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.always_eq_h3index_th3index(arg0, arg1);
}

/** MEOS {@code always_eq_th3index_h3index} — H3 / th3index family. */
public static int always_eq_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"always_eq_th3index_h3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.always_eq_th3index_h3index(arg0, arg1);
}

/** MEOS {@code always_eq_th3index_th3index} — H3 / th3index family. */
public static int always_eq_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"always_eq_th3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.always_eq_th3index_th3index(arg0, arg1);
}

/** MEOS {@code always_ne_h3index_th3index} — H3 / th3index family. */
public static int always_ne_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"always_ne_h3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.always_ne_h3index_th3index(arg0, arg1);
}

/** MEOS {@code always_ne_th3index_h3index} — H3 / th3index family. */
public static int always_ne_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"always_ne_th3index_h3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.always_ne_th3index_h3index(arg0, arg1);
}

/** MEOS {@code always_ne_th3index_th3index} — H3 / th3index family. */
public static int always_ne_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"always_ne_th3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.always_ne_th3index_th3index(arg0, arg1);
}

/** MEOS {@code ever_eq_h3index_th3index} — H3 / th3index family. */
public static int ever_eq_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"ever_eq_h3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.ever_eq_h3index_th3index(arg0, arg1);
}

/** MEOS {@code ever_eq_h3indexset_th3index} — H3 / th3index family. */
public static int ever_eq_h3indexset_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"ever_eq_h3indexset_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.ever_eq_h3indexset_th3index(arg0, arg1);
}

/** MEOS {@code ever_eq_th3index_h3index} — H3 / th3index family. */
public static int ever_eq_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"ever_eq_th3index_h3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.ever_eq_th3index_h3index(arg0, arg1);
}

/** MEOS {@code ever_eq_th3index_th3index} — H3 / th3index family. */
public static int ever_eq_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"ever_eq_th3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.ever_eq_th3index_th3index(arg0, arg1);
}

/** MEOS {@code ever_ne_h3index_th3index} — H3 / th3index family. */
public static int ever_ne_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"ever_ne_h3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.ever_ne_h3index_th3index(arg0, arg1);
}

/** MEOS {@code ever_ne_th3index_h3index} — H3 / th3index family. */
public static int ever_ne_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"ever_ne_th3index_h3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.ever_ne_th3index_h3index(arg0, arg1);
}

/** MEOS {@code ever_ne_th3index_th3index} — H3 / th3index family. */
public static int ever_ne_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"ever_ne_th3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.ever_ne_th3index_th3index(arg0, arg1);
}

/** MEOS {@code geo_to_h3index_set} — H3 / th3index family. */
public static jnr.ffi.Pointer geo_to_h3index_set(jnr.ffi.Pointer arg0, int arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"geo_to_h3index_set requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.geo_to_h3index_set(arg0, arg1);
}

/** MEOS {@code h3_gs_point_to_cell} — H3 / th3index family. */
public static long h3_gs_point_to_cell(jnr.ffi.Pointer arg0, int arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"h3_gs_point_to_cell requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.h3_gs_point_to_cell(arg0, arg1);
}

/** MEOS {@code h3index_in} — H3 / th3index family. */
public static long h3index_in(java.lang.String arg0) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"h3index_in requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.h3index_in(arg0);
}

/** MEOS {@code h3index_out} — H3 / th3index family. */
public static java.lang.String h3index_out(long arg0) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"h3index_out requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.h3index_out(arg0);
}

/** MEOS {@code tbigint_to_th3index} — H3 / th3index family. */
public static jnr.ffi.Pointer tbigint_to_th3index(jnr.ffi.Pointer arg0) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"tbigint_to_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.tbigint_to_th3index(arg0);
}

/** MEOS {@code teq_h3index_th3index} — H3 / th3index family. */
public static jnr.ffi.Pointer teq_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"teq_h3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.teq_h3index_th3index(arg0, arg1);
}

/** MEOS {@code teq_th3index_h3index} — H3 / th3index family. */
public static jnr.ffi.Pointer teq_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"teq_th3index_h3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.teq_th3index_h3index(arg0, arg1);
}

/** MEOS {@code teq_th3index_th3index} — H3 / th3index family. */
public static jnr.ffi.Pointer teq_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"teq_th3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.teq_th3index_th3index(arg0, arg1);
}

/** MEOS {@code tgeogpoint_great_circle_distance} — H3 / th3index family. */
public static jnr.ffi.Pointer tgeogpoint_great_circle_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.lang.String arg2) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"tgeogpoint_great_circle_distance requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.tgeogpoint_great_circle_distance(arg0, arg1, arg2);
}

/** MEOS {@code tgeogpoint_to_th3index} — H3 / th3index family. */
public static jnr.ffi.Pointer tgeogpoint_to_th3index(jnr.ffi.Pointer arg0, int arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"tgeogpoint_to_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.tgeogpoint_to_th3index(arg0, arg1);
}

/** MEOS {@code tgeompoint_to_th3index} — H3 / th3index family. */
public static jnr.ffi.Pointer tgeompoint_to_th3index(jnr.ffi.Pointer arg0, int arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"tgeompoint_to_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.tgeompoint_to_th3index(arg0, arg1);
}

/** MEOS {@code tne_h3index_th3index} — H3 / th3index family. */
public static jnr.ffi.Pointer tne_h3index_th3index(long arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"tne_h3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.tne_h3index_th3index(arg0, arg1);
}

/** MEOS {@code tne_th3index_h3index} — H3 / th3index family. */
public static jnr.ffi.Pointer tne_th3index_h3index(jnr.ffi.Pointer arg0, long arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"tne_th3index_h3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.tne_th3index_h3index(arg0, arg1);
}

/** MEOS {@code tne_th3index_th3index} — H3 / th3index family. */
public static jnr.ffi.Pointer tne_th3index_th3index(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) {
if (!MEOS_AVAILABLE) {
throw new UnsupportedOperationException(
"tne_th3index_th3index requires libmeos — set -Dmobilityflink.meos.enabled=true");
}
return GeneratedFunctions.tne_th3index_th3index(arg0, arg1);
}
}
Loading