Tabnine Logo
AdminProtos$GetRegionInfoRequest$Builder.setRegion
Code IndexAdd Tabnine to your IDE (free)

How to use
setRegion
method
in
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$GetRegionInfoRequest$Builder

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.AdminProtos$GetRegionInfoRequest$Builder.setRegion (Showing top 1 results out of 315)

origin: harbby/presto-connectors

/**
 * Create a protocol buffer GetRegionInfoRequest for a given region name
 *
 * @param regionName the name of the region to get info
 * @param includeCompactionState indicate if the compaction state is requested
 * @return a protocol buffer GetRegionInfoRequest
 */
public static GetRegionInfoRequest
  buildGetRegionInfoRequest(final byte[] regionName,
   final boolean includeCompactionState) {
 GetRegionInfoRequest.Builder builder = GetRegionInfoRequest.newBuilder();
 RegionSpecifier region = buildRegionSpecifier(
  RegionSpecifierType.REGION_NAME, regionName);
 builder.setRegion(region);
 if (includeCompactionState) {
  builder.setCompactionState(includeCompactionState);
 }
 return builder.build();
}
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$GetRegionInfoRequest$BuildersetRegion

Javadoc

required .hbase.pb.RegionSpecifier region = 1;

Popular methods of AdminProtos$GetRegionInfoRequest$Builder

  • <init>
  • buildPartial
  • create
  • getParentForChildren
  • getRegion
    required .hbase.pb.RegionSpecifier region = 1;
  • getRegionFieldBuilder
    required .hbase.pb.RegionSpecifier region = 1;
  • hasRegion
    required .hbase.pb.RegionSpecifier region = 1;
  • isClean
  • maybeForceBuilderInitialization
  • mergeFrom
  • mergeRegion
    required .hbase.pb.RegionSpecifier region = 1;
  • mergeUnknownFields
  • mergeRegion,
  • mergeUnknownFields,
  • newUninitializedMessageException,
  • onBuilt,
  • onChanged,
  • setCompactionState,
  • build

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Path (java.nio.file)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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