Sha256: 9f6c0d8cbbeb73e709d8824077d276b5d49497f66da505843d8278e86c43218d

Contents?: true

Size: 1.31 KB

Versions: 10

Compression:

Stored size: 1.31 KB

Contents

package com.rho.db;

import com.xruby.runtime.lang.RubyValue;

public interface IDBResult {
	//public abstract int getCount();
	public abstract int getColCount();
	public abstract String getColName(int nCol);
	/*
	public abstract RubyValue getRubyValueByIdx(int nItem, int nCol);
	public abstract long getLongByIdx(int nItem, int nCol);
	public abstract int getIntByIdx(int nItem, int nCol);
	public abstract String getStringByIdx(int nItem, int nCol);
	
	public abstract RubyValue getRubyValue(int nItem, String colname);
	public abstract long getLong(int nItem, String colname);
	public abstract int getInt(int nItem, String colname);
	public abstract String getString(int nItem, String colname);*/

	//public abstract void close();//close cursor and release any locks
	
	//New
    public abstract boolean isEnd();
    public abstract void next();
	public abstract String getStringByIdx(int nCol);
	public abstract int getIntByIdx(int nCol);
	public abstract long getLongByIdx(int nCol);
	public abstract String getUInt64ByIdx(int nCol);

	public abstract RubyValue getRubyValueByIdx(int nCol);
	
	public abstract RubyValue getRubyValue(String colname);
	public abstract int getInt(String colname);
	public abstract String getString(String colname);
	
	public abstract Object[] getCurData();
	
    public abstract boolean isNonUnique();

}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rhodes-1.5.5 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.5.4 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.5.3 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.5.2 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.5.1 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.5.0 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.4.2 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.4.1 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.4.0 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java
rhodes-1.2.2 platform/shared/rubyJVM/src/com/rho/db/IDBResult.java