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

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

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

origin: cdapio/cdap

@Override
protected HBaseTableUtil getTableUtil() {
 HBase10CDHTableUtil hBaseTableUtil = new HBase10CDHTableUtil();
 hBaseTableUtil.setCConf(cConf);
 hBaseTableUtil.setNamespaceQueryAdmin(getNamespaceQueryAdmin());
 return hBaseTableUtil;
}
origin: caskdata/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: caskdata/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.hbaseHBase10CDHTableUtil

Most used methods

  • <init>
  • isCDAPTable
  • setCConf
  • setNamespaceQueryAdmin

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • getContentResolver (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ImageIO (javax.imageio)
  • Runner (org.openjdk.jmh.runner)
  • Top 12 Jupyter Notebook Extensions
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