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

How to use
getDbAndTableName
method
in
org.apache.hive.hcatalog.common.HCatUtil

Best Java code snippets using org.apache.hive.hcatalog.common.HCatUtil.getDbAndTableName (Showing top 4 results out of 315)

origin: apache/hive

static public Pair<String, String> getDBTableNames(String location) throws IOException {
 // the location string will be of the form:
 // <database name>.<table name> - parse it and
 // communicate the information to HCatInputFormat
 try {
  return HCatUtil.getDbAndTableName(location);
 } catch (IOException e) {
  String locationErrMsg = "The input location in load statement " +
   "should be of the form " +
   "<databasename>.<table name> or <table name>. Got " + location;
  throw new PigException(locationErrMsg, PIG_EXCEPTION_CODE);
 }
}
origin: com.cloudera.recordservice/recordservice-hcatalog-pig-adapter

static public Pair<String, String> getDBTableNames(String location) throws IOException {
 // the location string will be of the form:
 // <database name>.<table name> - parse it and
 // communicate the information to HCatInputFormat
 try {
  return HCatUtil.getDbAndTableName(location);
 } catch (IOException e) {
  String locationErrMsg = "The input location in load statement " +
   "should be of the form " +
   "<databasename>.<table name> or <table name>. Got " + location;
  throw new PigException(locationErrMsg, PIG_EXCEPTION_CODE);
 }
}
origin: org.apache.hive.hcatalog/hive-hcatalog-pig-adapter

static public Pair<String, String> getDBTableNames(String location) throws IOException {
 // the location string will be of the form:
 // <database name>.<table name> - parse it and
 // communicate the information to HCatInputFormat
 try {
  return HCatUtil.getDbAndTableName(location);
 } catch (IOException e) {
  String locationErrMsg = "The input location in load statement " +
   "should be of the form " +
   "<databasename>.<table name> or <table name>. Got " + location;
  throw new PigException(locationErrMsg, PIG_EXCEPTION_CODE);
 }
}
origin: com.github.hyukjinkwon.hcatalog/hive-hcatalog-pig-adapter

static public Pair<String, String> getDBTableNames(String location) throws IOException {
 // the location string will be of the form:
 // <database name>.<table name> - parse it and
 // communicate the information to HCatInputFormat
 try {
  return HCatUtil.getDbAndTableName(location);
 } catch (IOException e) {
  String locationErrMsg = "The input location in load statement " +
   "should be of the form " +
   "<databasename>.<table name> or <table name>. Got " + location;
  throw new PigException(locationErrMsg, PIG_EXCEPTION_CODE);
 }
}
org.apache.hive.hcatalog.commonHCatUtilgetDbAndTableName

Popular methods of HCatUtil

  • getHiveMetastoreClient
    Get or create a hive client depending on whether it exits in cache or not
  • getTable
  • closeHiveClientQuietly
  • deserialize
  • getHiveConf
  • extractSchema
  • getStorageHandler
    Create an instance of a storage handler defined in storerInfo. If one cannot be found then FosterSto
  • serialize
  • validateExecuteBitPresentIfReadOrWrite
    Ensure that read or write permissions are not granted without also granting execute permissions. Ess
  • validateMorePermissive
    Test if the first FsAction is more permissive than the second. This is useful in cases where we want
  • configureOutputStorageHandler
  • copyConf
    Replace the contents of dest with the contents of src
  • configureOutputStorageHandler,
  • copyConf,
  • copyJobPropertiesToJobConf,
  • decodeBytes,
  • encodeBytes,
  • extractThriftToken,
  • getFieldSchemaList,
  • getHCatFieldSchemaList,
  • getInputJobProperties,
  • getJobConfFromContext

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Kernel (java.awt.image)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Github Copilot 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