Tabnine Logo
ClusterStatusProtos$StoreSequenceId$Builder.build
Code IndexAdd Tabnine to your IDE (free)

How to use
build
method
in
org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos$StoreSequenceId$Builder

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos$StoreSequenceId$Builder.build (Showing top 20 results out of 315)

origin: apache/hbase

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder setStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.set(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code>
 *
 * <pre>
 ** the most recent sequence Id of store from cache flush 
 * </pre>
 */
public Builder setStoreCompleteSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeCompleteSequenceIdBuilder_ == null) {
  ensureStoreCompleteSequenceIdIsMutable();
  storeCompleteSequenceId_.set(index, builderForValue.build());
  onChanged();
 } else {
  storeCompleteSequenceIdBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code>
 *
 * <pre>
 ** the most recent sequence Id of store from cache flush 
 * </pre>
 */
public Builder addStoreCompleteSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeCompleteSequenceIdBuilder_ == null) {
  ensureStoreCompleteSequenceIdIsMutable();
  storeCompleteSequenceId_.add(index, builderForValue.build());
  onChanged();
 } else {
  storeCompleteSequenceIdBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

/**
 * <code>repeated .StoreSequenceId store_complete_sequence_id = 18;</code>
 *
 * <pre>
 ** the most recent sequence Id of store from cache flush 
 * </pre>
 */
public Builder addStoreCompleteSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeCompleteSequenceIdBuilder_ == null) {
  ensureStoreCompleteSequenceIdIsMutable();
  storeCompleteSequenceId_.add(index, builderForValue.build());
  onChanged();
 } else {
  storeCompleteSequenceIdBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

/**
 * <code>repeated .StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

/**
 * <code>repeated .StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

RegionLoad.Builder setCompleteSequenceId(RegionLoad.Builder regionLoadBldr) {
 long lastFlushOpSeqIdLocal = this.lastFlushOpSeqId;
 byte[] encodedRegionName = this.getRegionInfo().getEncodedNameAsBytes();
 regionLoadBldr.clearStoreCompleteSequenceId();
 for (byte[] familyName : this.stores.keySet()) {
  long earliest = this.wal.getEarliestMemstoreSeqNum(encodedRegionName, familyName);
  // Subtract - 1 to go earlier than the current oldest, unflushed edit in memstore; this will
  // give us a sequence id that is for sure flushed. We want edit replay to start after this
  // sequence id in this region. If NO_SEQNUM, use the regions maximum flush id.
  long csid = (earliest == HConstants.NO_SEQNUM)? lastFlushOpSeqIdLocal: earliest - 1;
  regionLoadBldr.addStoreCompleteSequenceId(StoreSequenceId.
   newBuilder().setFamilyName(ByteString.copyFrom(familyName)).setSequenceId(csid).build());
 }
 return regionLoadBldr.setCompleteSequenceId(getMaxFlushedSeqId());
}
origin: harbby/presto-connectors

/**
 * <code>repeated .StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder setStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.set(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: harbby/presto-connectors

public RegionStoreSequenceIds getLastFlushedSequenceId(byte[] encodedRegionName) {
 RegionStoreSequenceIds.Builder builder = RegionStoreSequenceIds.newBuilder();
 Long seqId = flushedSequenceIdByRegion.get(encodedRegionName);
 builder.setLastFlushedSequenceId(seqId != null ? seqId.longValue() : HConstants.NO_SEQNUM);
 Map<byte[], Long> storeFlushedSequenceId =
   storeFlushedSequenceIdsByRegion.get(encodedRegionName);
 if (storeFlushedSequenceId != null) {
  for (Map.Entry<byte[], Long> entry : storeFlushedSequenceId.entrySet()) {
   builder.addStoreSequenceId(StoreSequenceId.newBuilder()
     .setFamilyName(ByteString.copyFrom(entry.getKey()))
     .setSequenceId(entry.getValue().longValue()).build());
  }
 }
 return builder.build();
}
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder setStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.set(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: com.aliyun.hbase/alihbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder setStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.set(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: org.apache.hbase/hbase-protocol

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_sequence_id = 2;</code>
 */
public Builder addStoreSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeSequenceIdBuilder_ == null) {
  ensureStoreSequenceIdIsMutable();
  storeSequenceId_.add(index, builderForValue.build());
  onChanged();
 } else {
  storeSequenceIdBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code>
 *
 * <pre>
 ** the most recent sequence Id of store from cache flush 
 * </pre>
 */
public Builder addStoreCompleteSequenceId(
  org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeCompleteSequenceIdBuilder_ == null) {
  ensureStoreCompleteSequenceIdIsMutable();
  storeCompleteSequenceId_.add(builderForValue.build());
  onChanged();
 } else {
  storeCompleteSequenceIdBuilder_.addMessage(builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code>
 *
 * <pre>
 ** the most recent sequence Id of store from cache flush 
 * </pre>
 */
public Builder setStoreCompleteSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeCompleteSequenceIdBuilder_ == null) {
  ensureStoreCompleteSequenceIdIsMutable();
  storeCompleteSequenceId_.set(index, builderForValue.build());
  onChanged();
 } else {
  storeCompleteSequenceIdBuilder_.setMessage(index, builderForValue.build());
 }
 return this;
}
/**
origin: apache/hbase

/**
 * <code>repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18;</code>
 *
 * <pre>
 ** the most recent sequence Id of store from cache flush 
 * </pre>
 */
public Builder addStoreCompleteSequenceId(
  int index, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceId.Builder builderForValue) {
 if (storeCompleteSequenceIdBuilder_ == null) {
  ensureStoreCompleteSequenceIdIsMutable();
  storeCompleteSequenceId_.add(index, builderForValue.build());
  onChanged();
 } else {
  storeCompleteSequenceIdBuilder_.addMessage(index, builderForValue.build());
 }
 return this;
}
/**
org.apache.hadoop.hbase.protobuf.generatedClusterStatusProtos$StoreSequenceId$Builderbuild

Popular methods of ClusterStatusProtos$StoreSequenceId$Builder

  • setFamilyName
    required bytes family_name = 1;
  • setSequenceId
    required uint64 sequence_id = 2;
  • <init>
  • buildPartial
  • create
  • hasFamilyName
    required bytes family_name = 1;
  • hasSequenceId
    required uint64 sequence_id = 2;
  • maybeForceBuilderInitialization
  • mergeFrom
  • mergeUnknownFields
  • newUninitializedMessageException
  • onBuilt
  • newUninitializedMessageException,
  • onBuilt,
  • onChanged,
  • clear

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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