本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getFormat()
方法的一些代码示例,展示了YamlInputField.getFormat()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YamlInputField.getFormat()
方法的具体详情如下:
包路径:org.pentaho.di.trans.steps.yamlinput.YamlInputField
类名称:YamlInputField
方法名:getFormat
暂无
代码示例来源:origin: pentaho/pentaho-kettle
public String getXML() {
StringBuilder retval = new StringBuilder( 400 );
retval.append( " <field>" ).append( Const.CR );
retval.append( " " ).append( XMLHandler.addTagValue( "name", getName() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "path", getPath() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "type", getTypeDesc() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "format", getFormat() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "currency", getCurrencySymbol() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "decimal", getDecimalSymbol() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "group", getGroupSymbol() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "length", getLength() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "precision", getPrecision() ) );
retval.append( " " ).append( XMLHandler.addTagValue( "trim_type", getTrimTypeCode() ) );
retval.append( " </field>" ).append( Const.CR );
return retval.toString();
}
代码示例来源:origin: pentaho/pentaho-kettle
String path = field.getPath();
String type = field.getTypeDesc();
String format = field.getFormat();
String length = "" + field.getLength();
String prec = "" + field.getPrecision();
代码示例来源:origin: pentaho/pentaho-kettle
v.setPrecision( field.getPrecision() );
v.setOrigin( name );
v.setConversionMask( field.getFormat() );
v.setDecimalSymbol( field.getDecimalSymbol() );
v.setGroupingSymbol( field.getGroupSymbol() );
代码示例来源:origin: pentaho/pentaho-kettle
rep.saveStepAttribute( id_transformation, id_step, i, "field_path", field.getPath() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_type", field.getTypeDesc() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_format", field.getFormat() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_currency", field.getCurrencySymbol() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_decimal", field.getDecimalSymbol() );
内容来源于网络,如有侵权,请联系作者删除!