本文整理了Java中org.biomart.martservice.query.Query.getFormatter
方法的一些代码示例,展示了Query.getFormatter
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getFormatter
方法的具体详情如下:
包路径:org.biomart.martservice.query.Query
类名称:Query
方法名:getFormatter
暂无
代码示例来源:origin: net.sf.taverna.t2.activities/biomart-activity
Query query = biomartQuery.getQuery();
List<Attribute> attributes = query.getAttributes();
String formatter = query.getFormatter();
if (formatter == null) {
代码示例来源:origin: net.sf.taverna.t2/biomart-activity
private void buildOutputPorts() {
Query query = biomartQuery.getQuery();
List<Attribute> attributes = query.getAttributes();
String formatter = query.getFormatter();
if (formatter == null) {
// Create new output ports corresponding to attributes
for (Attribute attribute : attributes) {
String name = attribute.getQualifiedName();
if (attribute.getAttributes() != null) {
addOutput(name, 2, STREAM_RESULTS?1:2);
} else {
addOutput(name, 1, STREAM_RESULTS?0:1);
}
}
} else if (attributes.size() > 0) {
// create one port using the dataset name
Attribute attribute = attributes.get(0);
String name = attribute.getContainingDataset().getName();
addOutput(name, 0, 0);
}
}
代码示例来源:origin: uk.org.mygrid.taverna.processors/taverna-biomart-processor
Object[] resultList = biomartQuery.getMartService().executeQuery(
query);
if (biomartQuery.getQuery().getFormatter() == null) {
代码示例来源:origin: uk.org.mygrid.taverna.processors/taverna-biomart-processor
List<Attribute> attributes = query.getQuery().getAttributes();
Set<String> attributeNames = new HashSet<String>();
String formatter = query.getQuery().getFormatter();
if (formatter == null) {
代码示例来源:origin: net.sf.taverna.t2/biomart-activity
if (biomartQuery.getQuery().getFormatter() == null) {
if (STREAM_RESULTS) {
final List<Attribute> attributes = biomartQuery
代码示例来源:origin: net.sf.taverna.t2.activities/biomart-activity
if (biomartQuery.getQuery().getFormatter() == null) {
if (STREAM_RESULTS) {
final List<Attribute> attributes = biomartQuery
内容来源于网络,如有侵权,请联系作者删除!