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

com.scudata.expression.mfn.file.FileGroupStructure 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.expression.mfn.file;

import com.scudata.dm.Context;
import com.scudata.dm.Sequence;
import com.scudata.dw.PhyTable;
import com.scudata.dw.PhyTableGroup;
import com.scudata.expression.FileGroupFunction;

/**
 * ???????ļ??Ľṹ
 * f.structure()
 * @author LiWei
 *
 */
public class FileGroupStructure extends FileGroupFunction {
	public Object calculate(Context ctx) {
		PhyTableGroup tmg = fg.open(option, ctx);
		PhyTable table = (PhyTable) tmg.getTables()[0];
		Sequence seq = new Sequence();
		seq.add(Structure.getTableStruct(table, option));
		table.close();
		return seq;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy