Codota Logo
AdminProtos$GetStoreFileRequest.getRegion
Code IndexAdd Codota to your IDE (free)

How to use
getRegion
method
in
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$GetStoreFileRequest

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.AdminProtos$GetStoreFileRequest.getRegion (Showing top 17 results out of 315)

  • Common ways to obtain AdminProtos$GetStoreFileRequest
private void myMethod () {
AdminProtos$GetStoreFileRequest a =
  • Codota IconObject object;(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest) object
  • Codota IconAdminProtos.GetStoreFileRequest$Builder adminProtosGetStoreFileRequest$Builder;new org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest(adminProtosGetStoreFileRequest$Builder)
  • Smart code suggestions by Codota
}
origin: apache/hbase

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (getFamilyCount() > 0) {
  hash = (37 * hash) + FAMILY_FIELD_NUMBER;
  hash = (53 * hash) + getFamilyList().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: apache/hbase

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (!other.family_.isEmpty()) {
  if (family_.isEmpty()) {
   family_ = other.family_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureFamilyIsMutable();
   family_.addAll(other.family_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: apache/hbase

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && getFamilyList()
   .equals(other.getFamilyList());
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: apache/hbase

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: org.apache.hbase/hbase-protocol

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: com.aliyun.hbase/alihbase-protocol

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: com.aliyun.hbase/alihbase-protocol

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (getFamilyCount() > 0) {
  hash = (37 * hash) + FAMILY_FIELD_NUMBER;
  hash = (53 * hash) + getFamilyList().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: harbby/presto-connectors

public final boolean isInitialized() {
 byte isInitialized = memoizedIsInitialized;
 if (isInitialized != -1) return isInitialized == 1;
 if (!hasRegion()) {
  memoizedIsInitialized = 0;
  return false;
 }
 if (!getRegion().isInitialized()) {
  memoizedIsInitialized = 0;
  return false;
 }
 memoizedIsInitialized = 1;
 return true;
}
origin: harbby/presto-connectors

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (getFamilyCount() > 0) {
  hash = (37 * hash) + FAMILY_FIELD_NUMBER;
  hash = (53 * hash) + getFamilyList().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: harbby/presto-connectors

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (!other.family_.isEmpty()) {
  if (family_.isEmpty()) {
   family_ = other.family_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureFamilyIsMutable();
   family_.addAll(other.family_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: org.apache.hbase/hbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (!other.family_.isEmpty()) {
  if (family_.isEmpty()) {
   family_ = other.family_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureFamilyIsMutable();
   family_.addAll(other.family_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: org.apache.hbase/hbase-protocol

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && getFamilyList()
   .equals(other.getFamilyList());
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: harbby/presto-connectors

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && getFamilyList()
   .equals(other.getFamilyList());
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: com.aliyun.hbase/alihbase-protocol

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest)) {
  return super.equals(obj);
 }
 org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other = (org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest) obj;
 boolean result = true;
 result = result && (hasRegion() == other.hasRegion());
 if (hasRegion()) {
  result = result && getRegion()
    .equals(other.getRegion());
 }
 result = result && getFamilyList()
   .equals(other.getFamilyList());
 result = result &&
   getUnknownFields().equals(other.getUnknownFields());
 return result;
}
origin: org.apache.hbase/hbase-protocol

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptorForType().hashCode();
 if (hasRegion()) {
  hash = (37 * hash) + REGION_FIELD_NUMBER;
  hash = (53 * hash) + getRegion().hashCode();
 }
 if (getFamilyCount() > 0) {
  hash = (37 * hash) + FAMILY_FIELD_NUMBER;
  hash = (53 * hash) + getFamilyList().hashCode();
 }
 hash = (29 * hash) + getUnknownFields().hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: harbby/presto-connectors

@Override
@QosPriority(priority=HConstants.ADMIN_QOS)
public GetStoreFileResponse getStoreFile(final RpcController controller,
  final GetStoreFileRequest request) throws ServiceException {
 try {
  checkOpen();
  Region region = getRegion(request.getRegion());
  requestCount.increment();
  Set<byte[]> columnFamilies;
  if (request.getFamilyCount() == 0) {
   columnFamilies = region.getTableDesc().getFamiliesKeys();
  } else {
   columnFamilies = new TreeSet<byte[]>(Bytes.BYTES_RAWCOMPARATOR);
   for (ByteString cf: request.getFamilyList()) {
    columnFamilies.add(cf.toByteArray());
   }
  }
  int nCF = columnFamilies.size();
  List<String>  fileList = region.getStoreFileList(
   columnFamilies.toArray(new byte[nCF][]));
  GetStoreFileResponse.Builder builder = GetStoreFileResponse.newBuilder();
  builder.addAllStoreFile(fileList);
  return builder.build();
 } catch (IOException ie) {
  throw new ServiceException(ie);
 }
}
origin: com.aliyun.hbase/alihbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequest.getDefaultInstance()) return this;
 if (other.hasRegion()) {
  mergeRegion(other.getRegion());
 }
 if (!other.family_.isEmpty()) {
  if (family_.isEmpty()) {
   family_ = other.family_;
   bitField0_ = (bitField0_ & ~0x00000002);
  } else {
   ensureFamilyIsMutable();
   family_.addAll(other.family_);
  }
  onChanged();
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$GetStoreFileRequestgetRegion

Javadoc

required .hbase.pb.RegionSpecifier region = 1;

Popular methods of AdminProtos$GetStoreFileRequest

  • <init>
  • getDefaultInstance
  • getDescriptorForType
  • getFamilyCount
    repeated bytes family = 2;
  • getFamilyList
    repeated bytes family = 2;
  • getSerializedSize
  • getUnknownFields
  • hasRegion
    required .hbase.pb.RegionSpecifier region = 1;
  • initFields
  • isInitialized
  • makeExtensionsImmutable
  • newBuilder
  • makeExtensionsImmutable,
  • newBuilder,
  • parseUnknownField

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Notification (javax.management)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now