text: /* file: batch.cpp */
  /*******************************************************************************
  * Copyright 2014-2020 Intel Corporation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *******************************************************************************/
  
  /* DO NOT EDIT THIS FILE - it is machine generated */
  #include <jni.h>/* Header for class com_intel_daal_algorithms_association_rules_Batch */
  
  #include "daal.h"
  #include "com_intel_daal_algorithms_association_rules_Batch.h"
  
  #include "com/intel/daal/common_helpers.h"
  
  USING_COMMON_NAMESPACES();
  using namespace daal::algorithms::association_rules;
  
  /*
   * Class:     com_intel_daal_algorithms_association_rules_Batch
   * Method:    cInit
   * Signature:(II)J
   */
  JNIEXPORT jlong JNICALL Java_com_intel_daal_algorithms_association_1rules_Batch_cInit(JNIEnv * env, jobject thisObj, jint prec, jint method)
  {
      return jniBatch<association_rules::Method, Batch, apriori>::newObj(prec, method);
  }
  
  JNIEXPORT jlong JNICALL Java_com_intel_daal_algorithms_association_1rules_Batch_cInitParameter(JNIEnv * env, jobject thisObj, jlong algAddr,
                                                                                                 jint prec, jint method, jint cmode)
  {
      return jniBatch<association_rules::Method, Batch, apriori>::getParameter(prec, method, algAddr);
  }
  
  /*
   * Class:     com_intel_daal_algorithms_association_rules_Batch
   * Method:    cGetResult
   * Signature:(JII)J
   */
  JNIEXPORT jlong JNICALL Java_com_intel_daal_algorithms_association_1rules_Batch_cGetResult(JNIEnv * env, jobject thisObj, jlong algAddr, jint prec,
                                                                                             jint method)
  {
      return jniBatch<association_rules::Method, association_rules::Batch, association_rules::apriori>::getResult(prec, method, algAddr);
  }
  
  JNIEXPORT void JNICALL Java_com_intel_daal_algorithms_association_1rules_Batch_cSetResult(JNIEnv * env, jobject thisObj, jlong algAddr, jint prec,
                                                                                            jint method, jlong resultAddr)
  {
      jniBatch<association_rules::Method, Batch, apriori>::setResult<association_rules::Result>(prec, method, algAddr, resultAddr);
  }
  
  /*
   * Class:     com_intel_daal_algorithms_association_rules_Batch
   * Method:    cClone
   * Signature:(JII)J
   */
  JNIEXPORT jlong JNICALL Java_com_intel_daal_algorithms_association_1rules_Batch_cClone(JNIEnv * env, jobject thisObj, jlong algAddr, jint prec,
                                                                                         jint method)
  {
      return jniBatch<association_rules::Method, Batch, apriori>::getClone(prec, method, algAddr);
  }
  