Tabnine Logo
UserBitShared$QueryId.getPart1
Code IndexAdd Tabnine to your IDE (free)

How to use
getPart1
method
in
com.dremio.exec.proto.UserBitShared$QueryId

Best Java code snippets using com.dremio.exec.proto.UserBitShared$QueryId.getPart1 (Showing top 6 results out of 315)

origin: dremio/dremio-oss

public static String getQueryId(final QueryId queryId) {
 return (new UUID(queryId.getPart1(), queryId.getPart2())).toString();
}
origin: dremio/dremio-oss

final QueryId id = profile.getPrepareId();
zip.putNextEntry(new ZipEntry(String.format("prepare_profile_attempt_%d.json", attemptIndex)));
JobId prepareId = new JobId(new UUID(id.getPart1(), id.getPart2()).toString());
recordProfile(zip, prepareId, 0);
origin: dremio/dremio-oss

private JobId toId(QueryId id){
 return new JobId(new UUID(id.getPart1(), id.getPart2()).toString());
}
origin: dremio/dremio-oss

public void writeTo(io.protostuff.Output output, com.dremio.exec.proto.UserBitShared.QueryId message) throws java.io.IOException
{
  if(message.hasPart1())
    output.writeSFixed64(1, message.getPart1(), false);
  if(message.hasPart2())
    output.writeSFixed64(2, message.getPart2(), false);
}
public boolean isInitialized(com.dremio.exec.proto.UserBitShared.QueryId message)
origin: dremio/dremio-oss

@Deprecated // Dremio still uses QueryId internally, once we switch to using AttemptId we can get rid of this
public static ExternalId toExternal(final QueryId queryId) {
 return ExternalId.newBuilder()
     .setPart1(queryId.getPart1())
     .setPart2(queryId.getPart2() & MASK)
     .build();
}
origin: dremio/dremio-oss

public Builder mergeFrom(com.dremio.exec.proto.UserBitShared.QueryId other) {
 if (other == com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) return this;
 if (other.hasPart1()) {
  setPart1(other.getPart1());
 }
 if (other.hasPart2()) {
  setPart2(other.getPart2());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
com.dremio.exec.protoUserBitShared$QueryIdgetPart1

Javadoc

optional sfixed64 part1 = 1;

Popular methods of UserBitShared$QueryId

  • getDefaultInstance
  • getPart2
    optional sfixed64 part2 = 2;
  • newBuilder
  • equals
  • <init>
  • getSerializedSize
  • getUnknownFields
  • hasPart1
    optional sfixed64 part1 = 1;
  • hasPart2
    optional sfixed64 part2 = 2;
  • hashCode
  • initFields
  • isInitialized
  • initFields,
  • isInitialized,
  • makeExtensionsImmutable,
  • parseUnknownField,
  • toBuilder

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ImageIO (javax.imageio)
  • JFileChooser (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ plugins
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