Tabnine Logo
HBase10TableUtil
Code IndexAdd Tabnine to your IDE (free)

How to use
HBase10TableUtil
in
co.cask.cdap.data2.util.hbase

Best Java code snippets using co.cask.cdap.data2.util.hbase.HBase10TableUtil (Showing top 3 results out of 315)

origin: cdapio/cdap

@Override
protected HBaseTableUtil getTableUtil() {
 HBase10TableUtil hBaseTableUtil = new HBase10TableUtil();
 hBaseTableUtil.setCConf(cConf);
 hBaseTableUtil.setNamespaceQueryAdmin(getNamespaceQueryAdmin());
 return hBaseTableUtil;
}
origin: cdapio/cdap

@Override
public List<TableId> listTables(HBaseAdmin admin) throws IOException {
 List<TableId> tableIds = Lists.newArrayList();
 HTableDescriptor[] hTableDescriptors = admin.listTables();
 for (HTableDescriptor hTableDescriptor : hTableDescriptors) {
  if (isCDAPTable(hTableDescriptor)) {
   tableIds.add(HTableNameConverter.from(hTableDescriptor));
  }
 }
 return tableIds;
}
origin: cdapio/cdap

@Override
public List<TableId> listTablesInNamespace(HBaseAdmin admin, String namespaceId) throws IOException {
 List<TableId> tableIds = Lists.newArrayList();
 HTableDescriptor[] hTableDescriptors =
  admin.listTableDescriptorsByNamespace(HTableNameConverter.encodeHBaseEntity(namespaceId));
 for (HTableDescriptor hTableDescriptor : hTableDescriptors) {
  if (isCDAPTable(hTableDescriptor)) {
   tableIds.add(HTableNameConverter.from(hTableDescriptor));
  }
 }
 return tableIds;
}
co.cask.cdap.data2.util.hbaseHBase10TableUtil

Most used methods

  • <init>
  • isCDAPTable
  • setCConf
  • setNamespaceQueryAdmin

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • IsNull (org.hamcrest.core)
    Is the value null?
  • CodeWhisperer alternatives
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