Codota Logo
FetchConverter.foundQuery
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
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

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • setContentView (Activity)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Socket (java.net)
    Provides a client-side TCP socket.
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now