Tabnine Logo
FetchConverter.foundQuery
Code IndexAdd Tabnine to your IDE (free)

How to use
foundQuery
method
in
org.apache.hadoop.hive.common.io.FetchConverter

Best Java code snippets using org.apache.hadoop.hive.common.io.FetchConverter.foundQuery (Showing top 3 results out of 315)

origin: apache/hive

@Override
public void run(HookContext hookContext) throws Exception {
 assert(hookContext.getHookType() == HookType.PRE_EXEC_HOOK);
 SessionState ss = SessionState.get();
 QueryState queryState = hookContext.getQueryState();
 if (ss != null && ss.out instanceof FetchConverter) {
  boolean foundQuery = queryState.getHiveOperation() == HiveOperation.QUERY &&
      !hookContext.getQueryPlan().isForExplain();
  ((FetchConverter)ss.out).foundQuery(foundQuery);
 }
 Set<ReadEntity> inputs = hookContext.getInputs();
 Set<WriteEntity> outputs = hookContext.getOutputs();
 UserGroupInformation ugi = hookContext.getUgi();
 this.run(queryState,inputs,outputs,ugi);
}
origin: apache/drill

@Override
public void run(HookContext hookContext) throws Exception {
 assert(hookContext.getHookType() == HookType.PRE_EXEC_HOOK);
 SessionState ss = SessionState.get();
 QueryState queryState = hookContext.getQueryState();
 if (ss != null && ss.out instanceof FetchConverter) {
  boolean foundQuery = queryState.getHiveOperation() == HiveOperation.QUERY &&
      !hookContext.getQueryPlan().isForExplain();
  ((FetchConverter)ss.out).foundQuery(foundQuery);
 }
 Set<ReadEntity> inputs = hookContext.getInputs();
 Set<WriteEntity> outputs = hookContext.getOutputs();
 UserGroupInformation ugi = hookContext.getUgi();
 this.run(queryState,inputs,outputs,ugi);
}
origin: com.facebook.presto.hive/hive-apache

@Override
public void run(HookContext hookContext) throws Exception {
 assert(hookContext.getHookType() == HookType.PRE_EXEC_HOOK);
 SessionState ss = SessionState.get();
 if (ss != null && ss.out instanceof FetchConverter) {
  boolean foundQuery = ss.getHiveOperation() == HiveOperation.QUERY &&
      !hookContext.getQueryPlan().isForExplain();
  ((FetchConverter)ss.out).foundQuery(foundQuery);
 }
 Set<ReadEntity> inputs = hookContext.getInputs();
 Set<WriteEntity> outputs = hookContext.getOutputs();
 UserGroupInformation ugi = hookContext.getUgi();
 this.run(ss,inputs,outputs,ugi);
}
org.apache.hadoop.hive.common.ioFetchConverterfoundQuery

Popular methods of FetchConverter

  • fetchFinished
  • fetchStarted
  • byPass
  • printDirect
  • process
  • processFinal

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • Menu (java.awt)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top plugins for WebStorm
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