congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JobLogTable.isBatchIdUsed
Code IndexAdd Tabnine to your IDE (free)

How to use
isBatchIdUsed
method
in
org.pentaho.di.core.logging.JobLogTable

Best Java code snippets using org.pentaho.di.core.logging.JobLogTable.isBatchIdUsed (Showing top 4 results out of 315)

origin: pentaho/pentaho-kettle

if ( isBatchIdUsed() ) {
 RowMetaInterface batchIndex = new RowMeta();
 LogTableField keyField = getKeyField();
origin: pentaho/pentaho-kettle

if ( jobMeta.getJobLogTable().isBatchIdUsed() ) {
 id_batch = logcon.getNextBatchId( ldb, schemaName, tableName, jobLogTable.getKeyField().getFieldName() );
 setBatchId( id_batch.longValue() );
origin: pentaho/pentaho-kettle

private void saveJobDetails( DataNode rootNode, JobMeta jobMeta ) throws KettleException {
 rootNode.setProperty( PROP_EXTENDED_DESCRIPTION, jobMeta.getExtendedDescription() );
 rootNode.setProperty( PROP_JOB_VERSION, jobMeta.getJobversion() );
 rootNode.setProperty( PROP_JOB_STATUS, jobMeta.getJobstatus() < 0 ? -1L : jobMeta.getJobstatus() );
 if ( jobMeta.getJobLogTable().getDatabaseMeta() != null ) {
  DataNodeRef ref = new DataNodeRef( jobMeta.getJobLogTable().getDatabaseMeta().getObjectId().getId() );
  rootNode.setProperty( PROP_DATABASE_LOG, ref );
 }
 rootNode.setProperty( PROP_TABLE_NAME_LOG, jobMeta.getJobLogTable().getTableName() );
 rootNode.setProperty( PROP_CREATED_USER, jobMeta.getCreatedUser() );
 rootNode.setProperty( PROP_CREATED_DATE, jobMeta.getCreatedDate() );
 rootNode.setProperty( PROP_MODIFIED_USER, jobMeta.getModifiedUser() );
 rootNode.setProperty( PROP_MODIFIED_DATE, jobMeta.getModifiedDate() );
 rootNode.setProperty( PROP_USE_BATCH_ID, jobMeta.getJobLogTable().isBatchIdUsed() );
 rootNode.setProperty( PROP_PASS_BATCH_ID, jobMeta.isBatchIdPassed() );
 rootNode.setProperty( PROP_USE_LOGFIELD, jobMeta.getJobLogTable().isLogFieldUsed() );
 rootNode.setProperty( PROP_SHARED_FILE, jobMeta.getSharedObjectsFile() );
 rootNode.setProperty( PROP_LOG_SIZE_LIMIT, jobMeta.getJobLogTable().getLogSizeLimit() );
 // Save the logging tables too..
 //
 RepositoryAttributeInterface attributeInterface = new PurRepositoryAttribute( rootNode, jobMeta.getDatabases() );
 for ( LogTableInterface logTable : jobMeta.getLogTables() ) {
  logTable.saveToRepository( attributeInterface );
 }
 // Load the attributes map
 //
 AttributesMapUtil.saveAttributesMap( rootNode, jobMeta );
}
origin: pentaho/pentaho-kettle

table.addValue( new ValueMetaBoolean(
 KettleDatabaseRepository.FIELD_JOB_USE_BATCH_ID ), jobMeta
 .getJobLogTable().isBatchIdUsed() );
table.addValue( new ValueMetaBoolean(
 KettleDatabaseRepository.FIELD_JOB_USE_LOGFIELD ), jobMeta
org.pentaho.di.core.loggingJobLogTableisBatchIdUsed

Popular methods of JobLogTable

  • getLogSizeLimit
  • setLogSizeLimit
  • getDatabaseMeta
  • getLogInterval
    Get the logging interval in seconds. Disabled if the logging interval is
  • getTableName
  • setConnectionName
  • setTableName
  • getDefault
  • isLogFieldUsed
  • setAllGlobalParametersToNull
  • setBatchIdUsed
  • setLogFieldUsed
  • setBatchIdUsed,
  • setLogFieldUsed,
  • setLogInterval,
  • <init>,
  • clone,
  • findField,
  • getActualSchemaName,
  • getActualTableName,
  • getFields

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now