All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com._4paradigm.openmldb.DBTable Maven / Gradle / Ivy

There is a newer version: 0.9.2-macos
Show newest version
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 4.0.1
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com._4paradigm.openmldb;

public class DBTable {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

  protected DBTable(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(DBTable obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  @SuppressWarnings("deprecation")
  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        sql_router_sdkJNI.delete_DBTable(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public DBTable() {
    this(sql_router_sdkJNI.new_DBTable__SWIG_0(), true);
  }

  public DBTable(String first, String second) {
    this(sql_router_sdkJNI.new_DBTable__SWIG_1(first, second), true);
  }

  public DBTable(DBTable other) {
    this(sql_router_sdkJNI.new_DBTable__SWIG_2(DBTable.getCPtr(other), other), true);
  }

  public void setFirst(String value) {
    sql_router_sdkJNI.DBTable_first_set(swigCPtr, this, value);
  }

  public String getFirst() {
    return sql_router_sdkJNI.DBTable_first_get(swigCPtr, this);
  }

  public void setSecond(String value) {
    sql_router_sdkJNI.DBTable_second_set(swigCPtr, this, value);
  }

  public String getSecond() {
    return sql_router_sdkJNI.DBTable_second_get(swigCPtr, this);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy