- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField
类的一些代码示例,展示了YamlInputField
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YamlInputField
类的具体详情如下:
包路径:org.pentaho.di.trans.steps.yamlinput.YamlInputField
类名称:YamlInputField
[英]Read YAML files, parse them and convert them to rows and writes these to one or more output streams.
[中]读取YAML文件,解析它们并将其转换为行,然后将它们写入一个或多个输出流。
代码示例来源: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
public YamlInputField( Node fnode ) throws KettleValueException {
setName( XMLHandler.getTagValue( fnode, "name" ) );
setPath( XMLHandler.getTagValue( fnode, "path" ) );
setType( ValueMetaFactory.getIdForValueMeta( XMLHandler.getTagValue( fnode, "type" ) ) );
setFormat( XMLHandler.getTagValue( fnode, "format" ) );
setCurrencySymbol( XMLHandler.getTagValue( fnode, "currency" ) );
setDecimalSymbol( XMLHandler.getTagValue( fnode, "decimal" ) );
setGroupSymbol( XMLHandler.getTagValue( fnode, "group" ) );
setLength( Const.toInt( XMLHandler.getTagValue( fnode, "length" ), -1 ) );
setPrecision( Const.toInt( XMLHandler.getTagValue( fnode, "precision" ), -1 ) );
setTrimType( getTrimTypeByCode( XMLHandler.getTagValue( fnode, "trim_type" ) ) );
}
代码示例来源: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
YamlInputField field = new YamlInputField( fnode );
inputFields[i] = field;
代码示例来源:origin: pentaho/pentaho-kettle
YamlInputField field = new YamlInputField();
field.setName( item.getText( 1 ) );
field.setPath( item.getText( 2 ) );
field.setType( ValueMetaFactory.getIdForValueMeta( item.getText( 3 ) ) );
field.setFormat( item.getText( 4 ) );
field.setLength( Const.toInt( item.getText( 5 ), -1 ) );
field.setPrecision( Const.toInt( item.getText( 6 ), -1 ) );
field.setCurrencySymbol( item.getText( 7 ) );
field.setDecimalSymbol( item.getText( 8 ) );
field.setGroupSymbol( item.getText( 9 ) );
field.setTrimType( YamlInputField.getTrimTypeByDesc( item.getText( 10 ) ) );
代码示例来源:origin: pentaho/pentaho-kettle
YamlInputField field = new YamlInputField();
field.setName( rep.getStepAttributeString( id_step, i, "field_name" ) );
field.setPath( rep.getStepAttributeString( id_step, i, "field_path" ) );
field.setType( ValueMetaFactory.getIdForValueMeta( rep.getStepAttributeString( id_step, i, "field_type" ) ) );
field.setFormat( rep.getStepAttributeString( id_step, i, "field_format" ) );
field.setCurrencySymbol( rep.getStepAttributeString( id_step, i, "field_currency" ) );
field.setDecimalSymbol( rep.getStepAttributeString( id_step, i, "field_decimal" ) );
field.setGroupSymbol( rep.getStepAttributeString( id_step, i, "field_group" ) );
field.setLength( (int) rep.getStepAttributeInteger( id_step, i, "field_length" ) );
field.setPrecision( (int) rep.getStepAttributeInteger( id_step, i, "field_precision" ) );
field.setTrimType( YamlInputField.getTrimTypeByCode( rep.getStepAttributeString(
id_step, i, "field_trim_type" ) ) );
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputMeta类的一些代码示例,展示了YamlInputMeta类的具体用法。这些代码示例主要
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField类的一些代码示例,展示了YamlInputField类的具体用法。这些代码示例
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlReader类的一些代码示例,展示了YamlReader类的具体用法。这些代码示例主要来源于Git
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputMeta.getIsAFile()方法的一些代码示例,展示了YamlInputMeta.
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputMeta.includeRowNumber()方法的一些代码示例,展示了YamlInpu
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputMeta.isdoNotFailIfNoFile()方法的一些代码示例,展示了YamlI
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputMeta.includeFilename()方法的一些代码示例,展示了YamlInput
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputMeta.isInFields()方法的一些代码示例,展示了YamlInputMeta.
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputMeta.allocate()方法的一些代码示例,展示了YamlInputMeta.al
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getTypeDesc()方法的一些代码示例,展示了YamlInputFie
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getCurrencySymbol()方法的一些代码示例,展示了YamlIn
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getTrimTypeDesc()方法的一些代码示例,展示了YamlInpu
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getXML()方法的一些代码示例,展示了YamlInputField.ge
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getFormat()方法的一些代码示例,展示了YamlInputField
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.setPath()方法的一些代码示例,展示了YamlInputField.s
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.setPrecision()方法的一些代码示例,展示了YamlInputFi
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getLength()方法的一些代码示例,展示了YamlInputField
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.setName()方法的一些代码示例,展示了YamlInputField.s
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.setFormat()方法的一些代码示例,展示了YamlInputField
本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.()方法的一些代码示例,展示了YamlInputField.()的具体用法。
我是一名优秀的程序员,十分优秀!