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

com._4paradigm.openmldb.ExplainInfo 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 ExplainInfo {
  private transient long swigCPtr;
  private transient boolean swigCMemOwn;

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

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

  protected void swigSetCMemOwn(boolean own) {
    swigCMemOwn = own;
  }

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

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

  public Schema GetInputSchema() {
    return new Schema(sql_router_sdkJNI.ExplainInfo_GetInputSchema(swigCPtr, this), true);
  }

  public Schema GetOutputSchema() {
    return new Schema(sql_router_sdkJNI.ExplainInfo_GetOutputSchema(swigCPtr, this), true);
  }

  public String GetLogicalPlan() {
    return sql_router_sdkJNI.ExplainInfo_GetLogicalPlan(swigCPtr, this);
  }

  public String GetPhysicalPlan() {
    return sql_router_sdkJNI.ExplainInfo_GetPhysicalPlan(swigCPtr, this);
  }

  public String GetIR() {
    return sql_router_sdkJNI.ExplainInfo_GetIR(swigCPtr, this);
  }

  public String GetRequestName() {
    return sql_router_sdkJNI.ExplainInfo_GetRequestName(swigCPtr, this);
  }

  public String GetRequestDbName() {
    return sql_router_sdkJNI.ExplainInfo_GetRequestDbName(swigCPtr, this);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy