本文整理匯總了Java中org.pentaho.di.core.Const.CR屬性的典型用法代碼示例。如果您正苦於以下問題:Java Const.CR屬性的具體用法?Java Const.CR怎麽用?Java Const.CR使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在類org.pentaho.di.core.Const
的用法示例。
在下文中一共展示了Const.CR屬性的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getXML
/***
* Generates the XML Output for the Storage of this Field</br>
*
* @author Florian Wiedner
* @category ARXFields
* @return String The String of the XML Representation
*/
public String getXML(){
String retval = "";
retval += " <field>" + Const.CR;
retval += " " + XMLHandler.addTagValue( "name", getName() );
retval += " " + XMLHandler.addTagValue( "type", type );
retval += " " + XMLHandler.addTagValue( "transformation", transformation );
retval += " " + XMLHandler.addTagValue( "minimumGen", minimumGen );
retval += " " + XMLHandler.addTagValue( "maximumGen", maximumGen );
retval += " " + XMLHandler.addTagValue( "functionMicro", functionMicro );
retval += " " + XMLHandler.addTagValue( "hierarchie", hierarchie );
retval += " " + XMLHandler.addTagValue( "attributeWeight", attributeWeight );
retval += " " + XMLHandler.addTagValue( "lDiversity", lDiversity );
retval += " " + XMLHandler.addTagValue( "lDiversityVariant", lDiversityVariant );
retval += " " + XMLHandler.addTagValue( "lDiversityC", lDiversityC );
retval += " " + XMLHandler.addTagValue( "tCloseness", tCloseness );
retval += " " + XMLHandler.addTagValue( "tClosenessMeasure", tClosenessMeasure );
retval += " " + XMLHandler.addTagValue( "dDisclosure", dDisclosure );
retval += " " + XMLHandler.addTagValue( "missingDataMicro", (missingDataMicro?"true":"false") );
retval += " " + XMLHandler.addTagValue( "lDiversityEnable", (lDiversityEnable?"true":"false") );
retval += " " + XMLHandler.addTagValue( "tClosenessEnable", (tClosenessEnable?"true":"false") );
retval += " " + XMLHandler.addTagValue( "dDisclosureEnable", (dDisclosureEnable?"true":"false") );
retval += " </field>" + Const.CR;
return retval;
}
示例2: getXML
/***
* Generates the XML Output for the Storage of this Region</br>
*
* @author Florian Wiedner
* @category RegionStore
* @return String The String of the XML Representation
*/
public String getXML() {
String retval = "";
retval += " <region>" + Const.CR;
retval += " " + XMLHandler.addTagValue("name", getName());
retval += " " + XMLHandler.addTagValue("sampling", getSampling());
retval += " " + XMLHandler.addTagValue("population", getPopulation());
retval += " </region>" + Const.CR;
return retval;
}
示例3: getXML
public String getXML() throws KettleValueException {
String retval = "";
retval += " <classname>" + getClassName() + "</classname>" + Const.CR;
retval += " <configinfo>" + getConfigInfo() + "</configinfo>" + Const.CR;
return retval;
}
示例4: getDropColumnStatement
/**
* Generates the SQL statement to drop a column from the specified table
*
* @param tablename The table to add
* @param v The column defined as a value
* @param tk the name of the technical key field
* @param use_autoinc whether or not this field uses auto increment
* @param pk the name of the primary key field
* @param semicolon whether or not to add a semi-colon behind the statement.
* @return the SQL statement to drop a column from the specified table
*/
@Override
public String getDropColumnStatement( String tablename, ValueMetaInterface v, String tk, boolean use_autoinc,
String pk, boolean semicolon ) {
return "ALTER TABLE " + tablename + " DROP COLUMN " + v.getName() + Const.CR;
}