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

com.scudata.thread.CursorLooper Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20240823
Show newest version
package com.scudata.thread;

import com.scudata.dm.Sequence;
import com.scudata.dm.cursor.ICursor;

/**
 * ???ڲ????????α????ݵ?Job
 * @author WangXiaoJun
 *
 */
public class CursorLooper extends Job {
	private ICursor cs;

	public CursorLooper(ICursor cs) {
		this.cs = cs;
	}
	
	public void run() {
		ICursor cs = this.cs;
		while (true) {
			Sequence src = cs.fuzzyFetch(ICursor.FETCHCOUNT);
			if (src == null || src.length() == 0) break;
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy