org.teiid.metadata.Procedure.setUpdateCount()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(94)

本文整理了Java中org.teiid.metadata.Procedure.setUpdateCount()方法的一些代码示例,展示了Procedure.setUpdateCount()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Procedure.setUpdateCount()方法的具体详情如下:
包路径:org.teiid.metadata.Procedure
类名称:Procedure
方法名:setUpdateCount

Procedure.setUpdateCount介绍

暂无

代码示例

代码示例来源:origin: teiid/teiid

private static void setProcedureOptions(Procedure proc) {
  Map<String, String> props = proc.getProperties();
  setCommonProperties(proc, props);
  
  String value = props.remove("UPDATECOUNT"); //$NON-NLS-1$
  if (value != null) {
    proc.setUpdateCount(Integer.parseInt(value));
  }
}

代码示例来源:origin: org.jboss.teiid/teiid-engine

private static void setProcedureOptions(Procedure proc) {
  Map<String, String> props = proc.getProperties();
  setCommonProperties(proc, props);
  
  String value = props.remove("UPDATECOUNT"); //$NON-NLS-1$
  if (value != null) {
    proc.setUpdateCount(Integer.parseInt(value));
  }
}

代码示例来源:origin: org.teiid/teiid-engine

private static void setProcedureOptions(Procedure proc) {
  Map<String, String> props = proc.getProperties();
  setCommonProperties(proc, props);
  
  String value = props.remove("UPDATECOUNT"); //$NON-NLS-1$
  if (value != null) {
    proc.setUpdateCount(Integer.parseInt(value));
  }
}

代码示例来源:origin: teiid/teiid

private static void removeProcedureOption(String key, Procedure proc) {
  if (proc.getProperty(key, false) != null) {
    proc.setProperty(key, null);
  }       
  removeCommonProperty(key, proc);
  
  if (key.equals("UPDATECOUNT")) { //$NON-NLS-1$
    proc.setUpdateCount(1);
  }
}

代码示例来源:origin: org.jboss.teiid/teiid-engine

private static void removeProcedureOption(String key, Procedure proc) {
  if (proc.getProperty(key, false) != null) {
    proc.setProperty(key, null);
  }       
  removeCommonProperty(key, proc);
  
  if (key.equals("UPDATECOUNT")) { //$NON-NLS-1$
    proc.setUpdateCount(1);
  }
}

代码示例来源:origin: org.teiid/teiid-engine

private static void removeProcedureOption(String key, Procedure proc) {
  if (proc.getProperty(key, false) != null) {
    proc.setProperty(key, null);
  }       
  removeCommonProperty(key, proc);
  
  if (key.equals("UPDATECOUNT")) { //$NON-NLS-1$
    proc.setUpdateCount(1);
  }
}

代码示例来源:origin: org.teiid/teiid-metadata

procRd.setUpdateCount(Integer.parseInt(tokens.get(tokenIndex++)) - 1);

代码示例来源:origin: teiid/teiid

procRd.setUpdateCount(Integer.parseInt(tokens.get(tokenIndex++)) - 1);

相关文章