Tabnine Logo
IMetadataManager.addAdapter
Code IndexAdd Tabnine to your IDE (free)

How to use
addAdapter
method
in
org.apache.asterix.metadata.api.IMetadataManager

Best Java code snippets using org.apache.asterix.metadata.api.IMetadataManager.addAdapter (Showing top 2 results out of 315)

origin: apache/asterixdb

private static void insertInitialAdapters(MetadataTransactionContext mdTxnCtx) throws AlgebricksException {
  String[] builtInAdapterClassNames = new String[] { GenericAdapterFactory.class.getName() };
  DatasourceAdapter adapter;
  for (String adapterClassName : builtInAdapterClassNames) {
    adapter = getAdapter(adapterClassName);
    MetadataManager.INSTANCE.addAdapter(mdTxnCtx, adapter);
  }
  if (LOGGER.isInfoEnabled()) {
    LOGGER.info("Finished inserting built-in adapters.");
  }
}
origin: apache/asterixdb

DatasourceAdapter dsa =
    new DatasourceAdapter(aid, adapterFactoryClass, IDataSourceAdapter.AdapterType.EXTERNAL);
MetadataManager.INSTANCE.addAdapter(mdTxnCtx, dsa);
if (LOGGER.isInfoEnabled()) {
  LOGGER.info("Installed adapter: " + adapterName);
org.apache.asterix.metadata.apiIMetadataManageraddAdapter

Popular methods of IMetadataManager

  • abortTransaction
    Aborts a remote transaction running on the metadata node.
  • addDataset
    Inserts a new dataset into the metadata.
  • addNodegroup
    Inserts a new node group.
  • beginTransaction
    Begins a transaction on the metadata node.
  • commitTransaction
    Commits a remote transaction on the metadata node.
  • dropNodegroup
    Deletes a node group.
  • getDatatype
    Retrieves the datatype with given name in given dataverse.
  • getFunction
  • getIndex
    Retrieves the index with given name, in given dataverse and dataset.
  • getNodegroup
    Retrieves a node group.
  • addDatatype
    Inserts a datatype.
  • addDataverse
    Inserts a new dataverse into the metadata.
  • addDatatype,
  • addDataverse,
  • addFeedPolicy,
  • dropDataset,
  • dropDataverse,
  • dropExternalFile,
  • dropIndex,
  • getCompactionPolicy,
  • getDataset

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Kernel (java.awt.image)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • String (java.lang)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top PhpStorm plugins
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