com.scudata.expression.mfn.file.FileGroupStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
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