gpt4 book ai didi

org.pentaho.di.trans.steps.yamlinput.YamlInputField.getLength()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 05:31:31 26 4
gpt4 key购买 nike

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

YamlInputField.getLength介绍

暂无

代码示例

代码示例来源: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 type = field.getTypeDesc();
String format = field.getFormat();
String length = "" + field.getLength();
String prec = "" + field.getPrecision();
String curr = field.getCurrencySymbol();

代码示例来源:origin: pentaho/pentaho-kettle

v = new ValueMetaString( valueName );
v.setLength( field.getLength() );
v.setPrecision( field.getPrecision() );
v.setOrigin( name );

代码示例来源:origin: pentaho/pentaho-kettle

rep.saveStepAttribute( id_transformation, id_step, i, "field_decimal", field.getDecimalSymbol() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_group", field.getGroupSymbol() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_length", field.getLength() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_precision", field.getPrecision() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_trim_type", field.getTrimTypeCode() );

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com