Tabnine Logo
WALProtos$BulkLoadDescriptor$Builder.addStores
Code IndexAdd Tabnine to your IDE (free)

How to use
addStores
method
in
org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos$BulkLoadDescriptor$Builder

Best Java code snippets using org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos$BulkLoadDescriptor$Builder.addStores (Showing top 5 results out of 315)

origin: apache/hbase

 builder.setStoreFileSizeBytes(size);
desc.addStores(builder);
origin: org.apache.hbase/hbase-client

 builder.setStoreFileSizeBytes(size);
desc.addStores(builder);
origin: com.aliyun.hbase/alihbase-client

 builder.setStoreFileSizeBytes(size);
desc.addStores(builder);
origin: org.apache.hbase/hbase-server

@Test
public void testReplayingBulkLoadEventWithFileAlreadyDeleted() throws IOException {
 // tests replaying bulk load event marker, but the bulk load files have already been compacted
 // from primary and also deleted from the archive directory
 secondaryRegion.replayWALBulkLoadEventMarker(BulkLoadDescriptor.newBuilder()
  .setTableName(ProtobufUtil.toProtoTableName(primaryRegion.getTableDescriptor().getTableName()))
  .setEncodedRegionName(
    UnsafeByteOperations.unsafeWrap(primaryRegion.getRegionInfo().getEncodedNameAsBytes()))
  .setBulkloadSeqNum(Long.MAX_VALUE)
  .addStores(StoreDescriptor.newBuilder()
   .setFamilyName(UnsafeByteOperations.unsafeWrap(families[0]))
   .setStoreHomeDir("/store_home_dir")
   .addStoreFile("/123")
   .build())
  .build());
}
origin: apache/hbase

@Test
public void testReplayingBulkLoadEventWithFileAlreadyDeleted() throws IOException {
 // tests replaying bulk load event marker, but the bulk load files have already been compacted
 // from primary and also deleted from the archive directory
 secondaryRegion.replayWALBulkLoadEventMarker(BulkLoadDescriptor.newBuilder()
  .setTableName(ProtobufUtil.toProtoTableName(primaryRegion.getTableDescriptor().getTableName()))
  .setEncodedRegionName(
    UnsafeByteOperations.unsafeWrap(primaryRegion.getRegionInfo().getEncodedNameAsBytes()))
  .setBulkloadSeqNum(Long.MAX_VALUE)
  .addStores(StoreDescriptor.newBuilder()
   .setFamilyName(UnsafeByteOperations.unsafeWrap(families[0]))
   .setStoreHomeDir("/store_home_dir")
   .addStoreFile("/123")
   .build())
  .build());
}
org.apache.hadoop.hbase.shaded.protobuf.generatedWALProtos$BulkLoadDescriptor$BuilderaddStores

Javadoc

repeated .hbase.pb.StoreDescriptor stores = 3;

Popular methods of WALProtos$BulkLoadDescriptor$Builder

  • setBulkloadSeqNum
    required int64 bulkload_seq_num = 4;
  • setEncodedRegionName
    required bytes encoded_region_name = 2;
  • build
  • setTableName
    required .hbase.pb.TableName table_name = 1;
  • <init>
  • addAllStores
    repeated .hbase.pb.StoreDescriptor stores = 3;
  • buildPartial
  • ensureStoresIsMutable
  • getParentForChildren
  • getStores
    repeated .hbase.pb.StoreDescriptor stores = 3;
  • getStoresCount
    repeated .hbase.pb.StoreDescriptor stores = 3;
  • getStoresFieldBuilder
  • getStoresCount,
  • getStoresFieldBuilder,
  • getTableName,
  • getTableNameFieldBuilder,
  • hasBulkloadSeqNum,
  • hasEncodedRegionName,
  • hasTableName,
  • isClean,
  • maybeForceBuilderInitialization

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • addToBackStack (FragmentTransaction)
  • Path (java.nio.file)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • BoxLayout (javax.swing)
  • Top 12 Jupyter Notebook extensions
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