Tabnine Logo
AdminProtos$GetRegionInfoResponse.newBuilder
Code IndexAdd Tabnine to your IDE (free)

How to use
newBuilder
method
in
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$GetRegionInfoResponse

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.AdminProtos$GetRegionInfoResponse.newBuilder (Showing top 13 results out of 315)

origin: harbby/presto-connectors

@Override
@QosPriority(priority=HConstants.ADMIN_QOS)
public GetRegionInfoResponse getRegionInfo(final RpcController controller,
  final GetRegionInfoRequest request) throws ServiceException {
 try {
  checkOpen();
  requestCount.increment();
  Region region = getRegion(request.getRegion());
  HRegionInfo info = region.getRegionInfo();
  GetRegionInfoResponse.Builder builder = GetRegionInfoResponse.newBuilder();
  builder.setRegionInfo(HRegionInfo.convert(info));
  if (request.hasCompactionState() && request.getCompactionState()) {
   builder.setCompactionState(region.getCompactionState());
  }
  builder.setIsRecovering(region.isRecovering());
  return builder.build();
 } catch (IOException ie) {
  throw new ServiceException(ie);
 }
}
origin: org.apache.hbase/hbase-protocol

public Builder toBuilder() { return newBuilder(this); }
origin: com.aliyun.hbase/alihbase-protocol

public Builder toBuilder() { return newBuilder(this); }
origin: com.aliyun.hbase/alihbase-protocol

public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
origin: harbby/presto-connectors

public Builder toBuilder() { return newBuilder(this); }
origin: harbby/presto-connectors

public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
origin: harbby/presto-connectors

public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
 return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
origin: com.aliyun.hbase/alihbase-protocol

public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
 return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
origin: org.apache.hbase/hbase-protocol

public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
origin: org.apache.hbase/hbase-protocol

public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
 return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
origin: apache/hbase

public Builder toBuilder() { return newBuilder(this); }
origin: apache/hbase

public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
origin: apache/hbase

public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse prototype) {
 return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$GetRegionInfoResponsenewBuilder

Popular methods of AdminProtos$GetRegionInfoResponse

  • <init>
  • getCompactionState
    optional .hbase.pb.GetRegionInfoResponse.CompactionState compaction_state = 2; optional bool DEPREC
  • getDefaultInstance
  • getDescriptor
  • getDescriptorForType
  • getRegionInfo
    required .hbase.pb.RegionInfo region_info = 1;
  • getSerializedSize
  • getUnknownFields
  • hasCompactionState
    optional .hbase.pb.GetRegionInfoResponse.CompactionState compaction_state = 2; optional bool DEPREC
  • hasRegionInfo
    required .hbase.pb.RegionInfo region_info = 1;
  • hashEnum
  • initFields
  • hashEnum,
  • initFields,
  • isInitialized,
  • makeExtensionsImmutable,
  • parseUnknownField,
  • getIsRecovering,
  • hasIsRecovering,
  • hashBoolean

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top PhpStorm 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