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

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

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

origin: apache/asterixdb

public static Dataset findDataset(MetadataTransactionContext mdTxnCtx, String dataverse, String dataset)
    throws AlgebricksException {
  return MetadataManager.INSTANCE.getDataset(mdTxnCtx, dataverse, dataset);
}
origin: apache/asterixdb

metadataProver.setMetadataTxnContext(mdTxn);
final String defaultDv = MetadataBuiltinEntities.DEFAULT_DATAVERSE.getDataverseName();
final Dataset dataset = MetadataManager.INSTANCE.getDataset(mdTxn, defaultDv, datasetName);
MetadataManager.INSTANCE.commitTransaction(mdTxn);
FileSplit[] splits = SplitsAndConstraintsUtil.getIndexSplits(appCtx.getClusterStateManager(), dataset,
org.apache.asterix.metadata.apiIMetadataManagergetDataset

Javadoc

Retrieves a dataset within a given dataverse.

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.
  • addAdapter
  • addDatatype
    Inserts a datatype.
  • addAdapter,
  • addDatatype,
  • addDataverse,
  • addFeedPolicy,
  • dropDataset,
  • dropDataverse,
  • dropExternalFile,
  • dropIndex,
  • getCompactionPolicy

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • setScale (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Permission (java.security)
    Legacy security code; do not use.
  • 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
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JLabel (javax.swing)
  • Top Sublime Text 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