本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.<init>()
方法的一些代码示例,展示了YamlInputField.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YamlInputField.<init>()
方法的具体详情如下:
包路径:org.pentaho.di.trans.steps.yamlinput.YamlInputField
类名称:YamlInputField
方法名:<init>
暂无
代码示例来源:origin: pentaho/pentaho-kettle
@Override
public void setDefault() {
IsIgnoreEmptyFile = false;
doNotFailIfNoFile = true;
includeFilename = false;
filenameField = "";
includeRowNumber = false;
rowNumberField = "";
IsAFile = false;
addResultFile = false;
validating = false;
int nrFiles = 0;
int nrFields = 0;
allocate( nrFiles, nrFields );
for ( int i = 0; i < nrFiles; i++ ) {
fileName[i] = "filename" + ( i + 1 );
fileMask[i] = "";
fileRequired[i] = RequiredFilesCode[0];
includeSubFolders[i] = RequiredFilesCode[0];
}
for ( int i = 0; i < nrFields; i++ ) {
inputFields[i] = new YamlInputField( "field" + ( i + 1 ) );
}
rowLimit = 0;
inFields = false;
yamlField = "";
}
代码示例来源:origin: pentaho/pentaho-kettle
@Override
public YamlInputField getTestObject() {
YamlInputField rtn = new YamlInputField();
rtn.setCurrencySymbol( UUID.randomUUID().toString() );
rtn.setDecimalSymbol( UUID.randomUUID().toString() );
rtn.setFormat( UUID.randomUUID().toString() );
rtn.setGroupSymbol( UUID.randomUUID().toString() );
rtn.setName( UUID.randomUUID().toString() );
rtn.setTrimType( rand.nextInt( 4 ) );
rtn.setPrecision( rand.nextInt( 9 ) );
rtn.setLength( rand.nextInt( 50 ) );
rtn.setPath( UUID.randomUUID().toString() );
rtn.setType( rand.nextInt( 8 ) );
return rtn;
}
代码示例来源:origin: pentaho/pentaho-kettle
YamlInputField field = new YamlInputField( fnode );
inputFields[i] = field;
代码示例来源:origin: pentaho/pentaho-kettle
YamlInputField field = new YamlInputField();
代码示例来源:origin: pentaho/pentaho-kettle
YamlInputField field = new YamlInputField();
内容来源于网络,如有侵权,请联系作者删除!