congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
JobLogTable.getTableName
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: pentaho/pentaho-kettle

if ( tableName.equals( jobLogTable.getTableName() ) ) {
 feedback.add( new ImportValidationFeedback(
  this, ImportValidationResultType.APPROVAL, "The table name is set to: " + tableName ) );
origin: pentaho/pentaho-kettle

 monitor.subTask( BaseMessages.getString( PKG, "JobMeta.Monitor.GettingSQLStatementsForJobLogTables" ) );
if ( jobLogTable.getDatabaseMeta() != null && !Utils.isEmpty( jobLogTable.getTableName() ) ) {
 Database db = new Database( this, jobLogTable.getDatabaseMeta() );
 try {
  db.connect();
  RowMetaInterface fields = jobLogTable.getLogRecord( LogStatus.START, null, null ).getRowMeta();
  String sql = db.getDDL( jobLogTable.getTableName(), fields );
  if ( sql != null && sql.length() > 0 ) {
   SQLStatement stat = new SQLStatement( BaseMessages.getString( PKG, "JobMeta.SQLFeedback.ThisJob" ),
origin: pentaho/pentaho-kettle

&& !Utils.isEmpty( jobMeta.getJobLogTable().getTableName() ) ) {
jobGraph.addAllTabs();
jobGraph.extraViewTabFolder.setSelection( jobGraph.jobHistoryDelegate.getJobHistoryTab() );
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 ValueMetaString(
 KettleDatabaseRepository.FIELD_JOB_TABLE_NAME_LOG ), jobMeta
 .getJobLogTable().getTableName() );
table.addValue( new ValueMetaBoolean(
 KettleDatabaseRepository.FIELD_JOB_USE_BATCH_ID ), jobMeta
org.pentaho.di.core.loggingJobLogTablegetTableName

Popular methods of JobLogTable

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

Popular in Java

  • Start an intent from android
  • getContentResolver (Context)
  • startActivity (Activity)
  • setContentView (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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