Codota Logo
DBCache.clear
Code IndexAdd Codota to your IDE (free)

How to use
clear
method
in
org.pentaho.di.core.DBCache

Best Java code snippets using org.pentaho.di.core.DBCache.clear (Showing top 11 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: pentaho/pentaho-kettle

public void clearDBCache( DatabaseMeta databaseMeta ) {
 if ( databaseMeta != null ) {
  DBCache.getInstance().clear( databaseMeta.getName() );
 } else {
  DBCache.getInstance().clear( null );
 }
}
origin: pentaho/pentaho-kettle

private DBCache() throws KettleFileException {
 try {
  clear( null );
origin: pentaho/pentaho-kettle

DBCache.getInstance().clear( databaseMeta.getName() );
origin: pentaho/pentaho-kettle

 public void handleEvent( Event e ) {
  DBCache.getInstance().clear( input.getDbConnectionName() );
  MessageBox mb = new MessageBox( shell, SWT.OK | SWT.ICON_INFORMATION );
  mb.setMessage( BaseMessages.getString( PKG, "MonetDBBulkLoaderDialog.Tab.ClearedDbCacheMsg" ) );
  mb.setText( BaseMessages.getString( PKG, "MonetDBBulkLoaderDialog.Tab.ClearedDbCacheTitle" ) );
  mb.open();
 }
};
origin: pentaho/pentaho-kettle

DBCache.getInstance().clear( meta.getDatabaseMeta().getName() );
if ( meta.getDatabaseMeta() == null ) {
 logError( BaseMessages.getString( PKG, "MySQLBulkLoader.Init.ConnectionMissing", getStepname() ) );
origin: pentaho/pentaho-kettle

dbcache.clear( ci.getName() );
origin: pentaho/pentaho-kettle

private void clearCache() {
 MessageBox mb = new MessageBox( shell, SWT.ICON_QUESTION | SWT.NO | SWT.YES | SWT.CANCEL );
 mb.setMessage( BaseMessages.getString( PKG, "SQLEditor.ClearWholeCache.Message", connection.getName() ) );
 mb.setText( BaseMessages.getString( PKG, "SQLEditor.ClearWholeCache.Title" ) );
 int answer = mb.open();
 switch ( answer ) {
  case SWT.NO:
   DBCache.getInstance().clear( connection.getName() );
   mb = new MessageBox( shell, SWT.ICON_INFORMATION | SWT.OK );
   mb.setMessage( BaseMessages.getString( PKG, "SQLEditor.ConnectionCacheCleared.Message", connection
    .getName() ) );
   mb.setText( BaseMessages.getString( PKG, "SQLEditor.ConnectionCacheCleared.Title" ) );
   mb.open();
   break;
  case SWT.YES:
   DBCache.getInstance().clear( null );
   mb = new MessageBox( shell, SWT.ICON_INFORMATION | SWT.OK );
   mb.setMessage( BaseMessages.getString( PKG, "SQLEditor.WholeCacheCleared.Message" ) );
   mb.setText( BaseMessages.getString( PKG, "SQLEditor.WholeCacheCleared.Title" ) );
   mb.open();
   break;
  case SWT.CANCEL:
   break;
  default:
   break;
 }
}
origin: pentaho/pentaho-kettle

dbcache.clear( data.databaseMeta.getName() );
origin: pentaho/pentaho-kettle

 new int[] { pos } );
hasDatabasesInterface.removeDatabase( pos );
DBCache.getInstance().clear( db.getName() ); // remove this from the cache as well.
origin: pentaho/pentaho-metadata

DBCache.getInstance().clear( databaseMeta.getName() );
origin: pentaho/pentaho-metadata

DBCache.getInstance().clear( databaseMeta.getName() );
org.pentaho.di.coreDBCacheclear

Javadoc

Clear out all entries of database with a certain name

Popular methods of DBCache

  • getInstance
    Create the database cache instance by loading it from disk
  • get
    Get the fields as a row generated by a database cache entry
  • put
  • setActive
  • <init>
  • getFilename
  • saveCache

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
  • getSharedPreferences (Context)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • 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
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now