List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:October 1 2007 6:13am
Subject:Rev 166: Removed file with is autogenerated now. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmerge

------------------------------------------------------------
revno: 166
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: ndbjmerge
timestamp: Sun 2007-09-30 23:13:40 -0700
message:
  Removed file with is autogenerated now.
removed:
  java/com/mysql/cluster/ndbj/NdbScanOperationImpl.java
ndbscanoperationimpl-20070517181935-98huwjarzuh25b30-26
=== removed file 'java/com/mysql/cluster/ndbj/NdbScanOperationImpl.java'
--- a/java/com/mysql/cluster/ndbj/NdbScanOperationImpl.java	2007-10-01 06:12:42 +0000
+++ b/java/com/mysql/cluster/ndbj/NdbScanOperationImpl.java	1970-01-01 00:00:00 +0000
@@ -1,208 +0,0 @@
-/* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.31
- *
- * Do not make changes to this file unless you know what you are doing--modify
- * the SWIG interface file instead.
- * ----------------------------------------------------------------------------- */
-
-package com.mysql.cluster.ndbj;
-import java.util.ArrayList;
-public class NdbScanOperationImpl extends NdbOperationImpl implements NdbScanOperation {
-  private long swigCPtr;
-
-  protected NdbScanOperationImpl(long cPtr, boolean cMemoryOwn) {
-    super(ndbjJNI.SWIGNdbScanOperationImplUpcast(cPtr), cMemoryOwn);
-    swigCPtr = cPtr;
-  }
-
-  protected static long getCPtr(NdbScanOperationImpl obj) {
-    return (obj == null) ? 0 : obj.swigCPtr;
-  }
-
-  public synchronized void delete() {
-    if(swigCPtr != 0 && swigCMemOwn) {
-      swigCMemOwn = false;
-      throw new UnsupportedOperationException("C++ destructor does not have public
access");
-    }
-    swigCPtr = 0;
-    super.delete();
-  }
-
-  
-  public NdbScanFilter getNdbScanFilter() throws NdbApiException {
-    return new NdbScanFilterImpl(this);
-  }
-
-  public int readTuples(NdbOperation.LockMode mode, NdbScanOperation.ScanFlag scanFlag,
long parallel,
-			long batch) throws NdbApiException { 
-    return readTuples(mode,scanFlag.type,parallel,batch);
-  }
-
-  public int readTuples(NdbOperation.LockMode mode,
ArrayList<NdbScanOperation.ScanFlag> scanFlag, long parallel,
-			long batch) throws NdbApiException {
-    long flagVal = 0;
-    for (NdbScanOperation.ScanFlag s : scanFlag) { 
-      flagVal = flagVal | s.type;
-    }
-    return readTuples(mode,flagVal,parallel,batch);
-  }
-  
-
-  
-  public int readTuples(NdbOperation.LockMode lock_mode, long scan_flags, long parallel,
long batch) throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuples__SWIG_0(swigCPtr, this,
lock_mode.swigValue(), scan_flags, parallel, batch);
-  }
-
-  public int readTuples(NdbOperation.LockMode lock_mode, long scan_flags, long parallel)
throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuples__SWIG_1(swigCPtr, this,
lock_mode.swigValue(), scan_flags, parallel);
-  }
-
-  public int readTuples(NdbOperation.LockMode lock_mode, long scan_flags) throws
NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuples__SWIG_2(swigCPtr, this,
lock_mode.swigValue(), scan_flags);
-  }
-
-  public int readTuples(NdbOperation.LockMode lock_mode) throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuples__SWIG_3(swigCPtr, this,
lock_mode.swigValue());
-  }
-
-  public int readTuples() throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuples__SWIG_4(swigCPtr, this);
-  }
-
-  public int readTuples(int parallell) throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuples__SWIG_5(swigCPtr, this, parallell);
-  }
-
-  public int readTuplesExclusive(int parallell) throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuplesExclusive__SWIG_0(swigCPtr, this,
parallell);
-  }
-
-  public int readTuplesExclusive() throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_readTuplesExclusive__SWIG_1(swigCPtr, this);
-  }
-
-  public int nextResult(boolean fetchAllowed, boolean forceSend) throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_nextResult__SWIG_0(swigCPtr, this, fetchAllowed,
forceSend);
-  }
-
-  public int nextResult(boolean fetchAllowed) throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_nextResult__SWIG_1(swigCPtr, this, fetchAllowed);
-  }
-
-  public int nextResult() throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_nextResult__SWIG_2(swigCPtr, this);
-  }
-
-  public int deleteCurrentTuple() throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_deleteCurrentTuple__SWIG_0(swigCPtr, this);
-  }
-
-  public int deleteCurrentTuple(NdbTransactionImpl takeOverTransaction) throws
NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_deleteCurrentTuple__SWIG_1(swigCPtr, this,
NdbTransactionImpl.getCPtr(takeOverTransaction), takeOverTransaction);
-  }
-
-  public int restart(boolean forceSend) throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_restart__SWIG_0(swigCPtr, this, forceSend);
-  }
-
-  public int restart() throws NdbApiException {
-    return ndbjJNI.NdbScanOperationImpl_restart__SWIG_1(swigCPtr, this);
-  }
-
-  public NdbBlobImpl getBlobHandle(String anAttrName) throws NdbApiException {
-    long cPtr = ndbjJNI.NdbScanOperationImpl_getBlobHandle__SWIG_0(swigCPtr, this,
anAttrName);
-    return (cPtr == 0) ? null : new NdbBlobImpl(cPtr, false);
-  }
-
-  public NdbBlobImpl getBlobHandle(long anAttrId) throws NdbApiException {
-    long cPtr = ndbjJNI.NdbScanOperationImpl_getBlobHandle__SWIG_1(swigCPtr, this,
anAttrId);
-    return (cPtr == 0) ? null : new NdbBlobImpl(cPtr, false);
-  }
-
-  public NdbOperationImpl lockCurrentTuple() throws NdbApiException {
-    long cPtr = ndbjJNI.NdbScanOperationImpl_lockCurrentTuple__SWIG_0(swigCPtr, this);
-    return (cPtr == 0) ? null : new NdbOperationImpl(cPtr, false);
-  }
-
-  public NdbOperationImpl lockCurrentTuple(NdbTransactionImpl lockTrans) throws
NdbApiException {
-    long cPtr = ndbjJNI.NdbScanOperationImpl_lockCurrentTuple__SWIG_1(swigCPtr, this,
NdbTransactionImpl.getCPtr(lockTrans), lockTrans);
-    return (cPtr == 0) ? null : new NdbOperationImpl(cPtr, false);
-  }
-
-  public NdbOperationImpl updateCurrentTuple() throws NdbApiException {
-    long cPtr = ndbjJNI.NdbScanOperationImpl_updateCurrentTuple__SWIG_0(swigCPtr, this);
-    return (cPtr == 0) ? null : new NdbOperationImpl(cPtr, false);
-  }
-
-  public NdbOperationImpl updateCurrentTuple(NdbTransactionImpl updateTrans) throws
NdbApiException {
-    long cPtr = ndbjJNI.NdbScanOperationImpl_updateCurrentTuple__SWIG_1(swigCPtr, this,
NdbTransactionImpl.getCPtr(updateTrans), updateTrans);
-    return (cPtr == 0) ? null : new NdbOperationImpl(cPtr, false);
-  }
-
-  public NdbError getNdbError() {
-    return new NdbError(ndbjJNI.NdbScanOperationImpl_getNdbError(swigCPtr, this), false);
-  }
-
-  public void close(boolean forceSend, boolean releaseOp) {
-    ndbjJNI.NdbScanOperationImpl_close__SWIG_0(swigCPtr, this, forceSend, releaseOp);
-  }
-
-  public void close(boolean forceSend) {
-    ndbjJNI.NdbScanOperationImpl_close__SWIG_1(swigCPtr, this, forceSend);
-  }
-
-  public void close() {
-    ndbjJNI.NdbScanOperationImpl_close__SWIG_2(swigCPtr, this);
-  }
-
-  protected NdbScanFilterRef realGetNdbScanFilter() throws NdbApiException {
-    long cPtr = ndbjJNI.NdbScanOperationImpl_realGetNdbScanFilter(swigCPtr, this);
-    return (cPtr == 0) ? null : new NdbScanFilterRef(cPtr, false);
-  }
-
-  public enum ScanFlag {
-    SF_TupScan(ndbjJNI.NdbScanOperationImpl_SF_TupScan_get()),
-    SF_DiskScan(ndbjJNI.NdbScanOperationImpl_SF_DiskScan_get()),
-    SF_OrderBy(ndbjJNI.NdbScanOperationImpl_SF_OrderBy_get()),
-    SF_Descending(ndbjJNI.NdbScanOperationImpl_SF_Descending_get()),
-    SF_ReadRangeNo(ndbjJNI.NdbScanOperationImpl_SF_ReadRangeNo_get()),
-    SF_MultiRange(ndbjJNI.NdbScanOperationImpl_SF_MultiRange_get()),
-    SF_KeyInfo(ndbjJNI.NdbScanOperationImpl_SF_KeyInfo_get());
-
-    public final int swigValue() {
-      return swigValue;
-    }
-
-    public static ScanFlag swigToEnum(int swigValue) {
-      ScanFlag[] swigValues = ScanFlag.class.getEnumConstants();
-      if (swigValue < swigValues.length && swigValue >= 0 &&
swigValues[swigValue].swigValue == swigValue)
-        return swigValues[swigValue];
-      for (ScanFlag swigEnum : swigValues)
-        if (swigEnum.swigValue == swigValue)
-          return swigEnum;
-      throw new IllegalArgumentException("No enum " + ScanFlag.class + " with value " +
swigValue);
-    }
-
-    private ScanFlag() {
-      this.swigValue = SwigNext.next++;
-    }
-
-    private ScanFlag(int swigValue) {
-      this.swigValue = swigValue;
-      SwigNext.next = swigValue+1;
-    }
-
-    private ScanFlag(ScanFlag swigEnum) {
-      this.swigValue = swigEnum.swigValue;
-      SwigNext.next = this.swigValue+1;
-    }
-
-    private final int swigValue;
-
-    private static class SwigNext {
-      private static int next = 0;
-    }
-  }
-
-}

Thread
Rev 166: Removed file with is autogenerated now. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/ndbjmergeMonty Taylor1 Oct