• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java SQLFileOutputMeta类的典型用法和代码示例

java 6次浏览

本文整理汇总了Java中org.pentaho.di.trans.steps.sqlfileoutput.SQLFileOutputMeta的典型用法代码示例。如果您正苦于以下问题:Java SQLFileOutputMeta类的具体用法?Java SQLFileOutputMeta怎么用?Java SQLFileOutputMeta使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

SQLFileOutputMeta类属于org.pentaho.di.trans.steps.sqlfileoutput包,在下文中一共展示了SQLFileOutputMeta类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getInfo

点赞 3

import org.pentaho.di.trans.steps.sqlfileoutput.SQLFileOutputMeta; //导入依赖的package包/类
private void getInfo( SQLFileOutputMeta info ) {
  info.setSchemaName( wSchema.getText() );
  info.setTablename( wTable.getText() );
  info.setDatabaseMeta( transMeta.findDatabase( wConnection.getText() ) );
  info.setTruncateTable( wTruncate.getSelection() );
  info.setCreateParentFolder( wCreateParentFolder.getSelection() );

  info.setCreateTable( wAddCreate.getSelection() );

  info.setFileName( wFilename.getText() );
  info.setExtension( wExtension.getText() );
  info.setDateFormat( wFormat.getText() );
  info.setSplitEvery( Const.toInt( wSplitEvery.getText(), 0 ) );
  info.setFileAppended( wAppend.getSelection() );
  info.setStepNrInFilename( wAddStepnr.getSelection() );
  info.setDateInFilename( wAddDate.getSelection() );
  info.setTimeInFilename( wAddTime.getSelection() );

  info.setEncoding( wEncoding.getText() );
  info.setAddToResult( wAddToResult.getSelection() );
  info.setStartNewLine( wStartNewLine.getSelection() );
  info.setDoNotOpenNewFileInit( wDoNotOpenNewFileInit.getSelection() );

}
 

开发者ID:pentaho,
项目名称:pentaho-kettle,
代码行数:25,
代码来源:SQLFileOutputDialog.java

示例2: getInfo

点赞 2

import org.pentaho.di.trans.steps.sqlfileoutput.SQLFileOutputMeta; //导入依赖的package包/类
private void getInfo(SQLFileOutputMeta info)
{
       info.setSchemaName( wSchema.getText() );
	info.setTablename( wTable.getText() );
	info.setDatabaseMeta(  transMeta.findDatabase(wConnection.getText()) );
	info.setTruncateTable( wTruncate.getSelection() );
	info.setCreateParentFolder(wCreateParentFolder.getSelection() );
	
	info.setCreateTable( wAddCreate.getSelection() );
	
	
	info.setFileName(   wFilename.getText() );
	info.setExtension(  wExtension.getText() );
	info.setDateFormat(  wFormat.getText() );
	info.setSplitEvery( Const.toInt(wSplitEvery.getText(), 0) );
	info.setFileAppended( wAppend.getSelection() );
	info.setStepNrInFilename( wAddStepnr.getSelection() );
	info.setDateInFilename( wAddDate.getSelection() );
	info.setTimeInFilename( wAddTime.getSelection() );
	
	info.setEncoding( wEncoding.getText() );
	info.setAddToResult( wAddToResult.getSelection() );
	info.setStartNewLine( wStartNewLine.getSelection() );
	info.setDoNotOpenNewFileInit( wDoNotOpenNewFileInit.getSelection() );
	
			

}
 

开发者ID:icholy,
项目名称:geokettle-2.0,
代码行数:29,
代码来源:SQLFileOutputDialog.java

示例3: SQLFileOutputDialog

点赞 2

import org.pentaho.di.trans.steps.sqlfileoutput.SQLFileOutputMeta; //导入依赖的package包/类
public SQLFileOutputDialog(Shell parent, Object in, TransMeta transMeta, String sname)
{
	super(parent, (BaseStepMeta)in, transMeta, sname);
	input=(SQLFileOutputMeta)in;
}
 

开发者ID:icholy,
项目名称:geokettle-2.0,
代码行数:6,
代码来源:SQLFileOutputDialog.java

示例4: SQLFileOutputDialog

点赞 2

import org.pentaho.di.trans.steps.sqlfileoutput.SQLFileOutputMeta; //导入依赖的package包/类
public SQLFileOutputDialog( Shell parent, Object in, TransMeta transMeta, String sname ) {
  super( parent, (BaseStepMeta) in, transMeta, sname );
  input = (SQLFileOutputMeta) in;
}
 

开发者ID:pentaho,
项目名称:pentaho-kettle,
代码行数:5,
代码来源:SQLFileOutputDialog.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)