Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1BE3F2004A1 for ; Thu, 24 Aug 2017 17:10:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1A73D16B053; Thu, 24 Aug 2017 15:10:54 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E5C316B03A for ; Thu, 24 Aug 2017 17:10:52 +0200 (CEST) Received: (qmail 48865 invoked by uid 500); 24 Aug 2017 15:10:44 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 45352 invoked by uid 99); 24 Aug 2017 15:10:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2017 15:10:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 915B4F5F24; Thu, 24 Aug 2017 15:10:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@hbase.apache.org Date: Thu, 24 Aug 2017 15:11:22 -0000 Message-Id: <9af1cf11a28f466fa8171bded3c0dda3@git.apache.org> In-Reply-To: <7aa9af58bf7c45409ec64112bf89d28d@git.apache.org> References: <7aa9af58bf7c45409ec64112bf89d28d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [44/51] [partial] hbase-site git commit: Published site at . archived-at: Thu, 24 Aug 2017 15:10:54 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationException.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationException.html b/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationException.html index d50d155..e3e8ae5 100644 --- a/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationException.html +++ b/apidocs/org/apache/hadoop/hbase/replication/class-use/ReplicationException.html @@ -183,18 +183,12 @@ void -ReplicationAdmin.peerAdded(String id) -
Deprecated. 
- - - -void ReplicationAdmin.removePeerTableCFs(String id, Map<TableName,? extends Collection<String>> tableCfs)
Deprecated. 
- + void ReplicationAdmin.removePeerTableCFs(String id, String tableCf) http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/apidocs/overview-tree.html ---------------------------------------------------------------------- diff --git a/apidocs/overview-tree.html b/apidocs/overview-tree.html index 7a5e206..fa30006 100644 --- a/apidocs/overview-tree.html +++ b/apidocs/overview-tree.html @@ -716,6 +716,7 @@
  • org.apache.hadoop.hbase.client.AsyncAdmin
  • org.apache.hadoop.hbase.client.AsyncAdminBuilder
  • +
  • org.apache.hadoop.hbase.client.AsyncBufferedMutatorBuilder
  • org.apache.hadoop.hbase.client.AsyncTableBase
    • org.apache.hadoop.hbase.client.AsyncTable
    • @@ -728,11 +729,13 @@
    • java.lang.AutoCloseable
      • org.apache.hadoop.hbase.client.Admin (also extends org.apache.hadoop.hbase.Abortable, java.io.Closeable)
      • +
      • org.apache.hadoop.hbase.client.AsyncBufferedMutator
      • org.apache.hadoop.hbase.client.AsyncConnection
      • org.apache.hadoop.hbase.client.BufferedMutator
      • java.io.Closeable
        • org.apache.hadoop.hbase.client.Admin (also extends org.apache.hadoop.hbase.Abortable)
        • +
        • org.apache.hadoop.hbase.client.AsyncBufferedMutator
        • org.apache.hadoop.hbase.client.AsyncConnection
        • org.apache.hadoop.hbase.client.BufferedMutator
        • org.apache.hadoop.io.Closeable http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html b/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html index 1198ee7..86163e2 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html @@ -647,190 +647,187 @@ 639 if (this == obj) { 640 return true; 641 } -642 if (obj == null) { -643 return false; +642 if (obj instanceof HColumnDescriptor) { +643 return delegatee.equals(((HColumnDescriptor) obj).delegatee); 644 } -645 if (!(obj instanceof HColumnDescriptor)) { -646 return false; -647 } -648 return compareTo((HColumnDescriptor)obj) == 0; -649 } -650 -651 /** -652 * @see java.lang.Object#hashCode() -653 */ -654 @Override -655 public int hashCode() { -656 return delegatee.hashCode(); -657 } -658 -659 @Override -660 public int compareTo(HColumnDescriptor other) { -661 return delegatee.compareTo(other.delegatee); -662 } -663 -664 /** -665 * @return This instance serialized with pb with pb magic prefix -666 * @see #parseFrom(byte[]) -667 */ -668 public byte[] toByteArray() { -669 return ColumnFamilyDescriptorBuilder.toByteArray(delegatee); -670 } -671 -672 /** -673 * @param bytes A pb serialized {@link HColumnDescriptor} instance with pb magic prefix -674 * @return An instance of {@link HColumnDescriptor} made from <code>bytes</code> -675 * @throws DeserializationException -676 * @see #toByteArray() -677 */ -678 public static HColumnDescriptor parseFrom(final byte [] bytes) throws DeserializationException { -679 ColumnFamilyDescriptor desc = ColumnFamilyDescriptorBuilder.parseFrom(bytes); -680 if (desc instanceof ModifyableColumnFamilyDescriptor) { -681 return new HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc); -682 } else { -683 return new HColumnDescriptor(new ModifyableColumnFamilyDescriptor(desc)); -684 } -685 } -686 -687 @Override -688 public String getConfigurationValue(String key) { -689 return delegatee.getConfigurationValue(key); -690 } -691 -692 @Override -693 public Map<String, String> getConfiguration() { -694 return delegatee.getConfiguration(); -695 } -696 -697 /** -698 * Setter for storing a configuration setting. -699 * @param key Config key. Same as XML config key e.g. hbase.something.or.other. -700 * @param value String value. If null, removes the configuration. -701 */ -702 public HColumnDescriptor setConfiguration(String key, String value) { -703 getDelegateeForModification().setConfiguration(key, value); -704 return this; -705 } -706 -707 /** -708 * Remove a configuration setting represented by the key. -709 */ -710 public HColumnDescriptor removeConfiguration(final String key) { -711 getDelegateeForModification().removeConfiguration(key); -712 return this; -713 } -714 -715 @Override -716 public String getEncryptionType() { -717 return delegatee.getEncryptionType(); -718 } -719 -720 /** -721 * Set the encryption algorithm for use with this family -722 * @param value -723 */ -724 public HColumnDescriptor setEncryptionType(String value) { -725 getDelegateeForModification().setEncryptionType(value); -726 return this; -727 } -728 -729 @Override -730 public byte[] getEncryptionKey() { -731 return delegatee.getEncryptionKey(); -732 } -733 -734 /** Set the raw crypto key attribute for the family */ -735 public HColumnDescriptor setEncryptionKey(byte[] value) { -736 getDelegateeForModification().setEncryptionKey(value); -737 return this; -738 } -739 -740 @Override -741 public long getMobThreshold() { -742 return delegatee.getMobThreshold(); -743 } -744 -745 /** -746 * Sets the mob threshold of the family. -747 * @param value The mob threshold. -748 * @return this (for chained invocation) -749 */ -750 public HColumnDescriptor setMobThreshold(long value) { -751 getDelegateeForModification().setMobThreshold(value); -752 return this; -753 } -754 -755 @Override -756 public boolean isMobEnabled() { -757 return delegatee.isMobEnabled(); -758 } -759 -760 /** -761 * Enables the mob for the family. -762 * @param value Whether to enable the mob for the family. -763 * @return this (for chained invocation) -764 */ -765 public HColumnDescriptor setMobEnabled(boolean value) { -766 getDelegateeForModification().setMobEnabled(value); -767 return this; -768 } -769 -770 @Override -771 public MobCompactPartitionPolicy getMobCompactPartitionPolicy() { -772 return delegatee.getMobCompactPartitionPolicy(); -773 } -774 -775 /** -776 * Set the mob compact partition policy for the family. -777 * @param value policy type -778 * @return this (for chained invocation) -779 */ -780 public HColumnDescriptor setMobCompactPartitionPolicy(MobCompactPartitionPolicy value) { -781 getDelegateeForModification().setMobCompactPartitionPolicy(value); -782 return this; -783 } -784 -785 @Override -786 public short getDFSReplication() { -787 return delegatee.getDFSReplication(); -788 } -789 -790 /** -791 * Set the replication factor to hfile(s) belonging to this family -792 * @param value number of replicas the blocks(s) belonging to this CF should have, or -793 * {@link #DEFAULT_DFS_REPLICATION} for the default replication factor set in the -794 * filesystem -795 * @return this (for chained invocation) -796 */ -797 public HColumnDescriptor setDFSReplication(short value) { -798 getDelegateeForModification().setDFSReplication(value); -799 return this; -800 } -801 -802 @Override -803 public String getStoragePolicy() { -804 return delegatee.getStoragePolicy(); -805 } -806 -807 /** -808 * Set the storage policy for use with this family -809 * @param value the policy to set, valid setting includes: <i>"LAZY_PERSIST"</i>, -810 * <i>"ALL_SSD"</i>, <i>"ONE_SSD"</i>, <i>"HOT"</i>, <i>"WARM"</i>, <i>"COLD"</i> -811 */ -812 public HColumnDescriptor setStoragePolicy(String value) { -813 getDelegateeForModification().setStoragePolicy(value); -814 return this; -815 } -816 -817 @Override -818 public Bytes getValue(Bytes key) { -819 return delegatee.getValue(key); -820 } -821 -822 protected ModifyableColumnFamilyDescriptor getDelegateeForModification() { -823 return delegatee; -824 } -825} +645 return false; +646 } +647 +648 /** +649 * @see java.lang.Object#hashCode() +650 */ +651 @Override +652 public int hashCode() { +653 return delegatee.hashCode(); +654 } +655 +656 @Override +657 public int compareTo(HColumnDescriptor other) { +658 return COMPARATOR.compare(this, other); +659 } +660 +661 /** +662 * @return This instance serialized with pb with pb magic prefix +663 * @see #parseFrom(byte[]) +664 */ +665 public byte[] toByteArray() { +666 return ColumnFamilyDescriptorBuilder.toByteArray(delegatee); +667 } +668 +669 /** +670 * @param bytes A pb serialized {@link HColumnDescriptor} instance with pb magic prefix +671 * @return An instance of {@link HColumnDescriptor} made from <code>bytes</code> +672 * @throws DeserializationException +673 * @see #toByteArray() +674 */ +675 public static HColumnDescriptor parseFrom(final byte [] bytes) throws DeserializationException { +676 ColumnFamilyDescriptor desc = ColumnFamilyDescriptorBuilder.parseFrom(bytes); +677 if (desc instanceof ModifyableColumnFamilyDescriptor) { +678 return new HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc); +679 } else { +680 return new HColumnDescriptor(new ModifyableColumnFamilyDescriptor(desc)); +681 } +682 } +683 +684 @Override +685 public String getConfigurationValue(String key) { +686 return delegatee.getConfigurationValue(key); +687 } +688 +689 @Override +690 public Map<String, String> getConfiguration() { +691 return delegatee.getConfiguration(); +692 } +693 +694 /** +695 * Setter for storing a configuration setting. +696 * @param key Config key. Same as XML config key e.g. hbase.something.or.other. +697 * @param value String value. If null, removes the configuration. +698 */ +699 public HColumnDescriptor setConfiguration(String key, String value) { +700 getDelegateeForModification().setConfiguration(key, value); +701 return this; +702 } +703 +704 /** +705 * Remove a configuration setting represented by the key. +706 */ +707 public HColumnDescriptor removeConfiguration(final String key) { +708 getDelegateeForModification().removeConfiguration(key); +709 return this; +710 } +711 +712 @Override +713 public String getEncryptionType() { +714 return delegatee.getEncryptionType(); +715 } +716 +717 /** +718 * Set the encryption algorithm for use with this family +719 * @param value +720 */ +721 public HColumnDescriptor setEncryptionType(String value) { +722 getDelegateeForModification().setEncryptionType(value); +723 return this; +724 } +725 +726 @Override +727 public byte[] getEncryptionKey() { +728 return delegatee.getEncryptionKey(); +729 } +730 +731 /** Set the raw crypto key attribute for the family */ +732 public HColumnDescriptor setEncryptionKey(byte[] value) { +733 getDelegateeForModification().setEncryptionKey(value); +734 return this; +735 } +736 +737 @Override +738 public long getMobThreshold() { +739 return delegatee.getMobThreshold(); +740 } +741 +742 /** +743 * Sets the mob threshold of the family. +744 * @param value The mob threshold. +745 * @return this (for chained invocation) +746 */ +747 public HColumnDescriptor setMobThreshold(long value) { +748 getDelegateeForModification().setMobThreshold(value); +749 return this; +750 } +751 +752 @Override +753 public boolean isMobEnabled() { +754 return delegatee.isMobEnabled(); +755 } +756 +757 /** +758 * Enables the mob for the family. +759 * @param value Whether to enable the mob for the family. +760 * @return this (for chained invocation) +761 */ +762 public HColumnDescriptor setMobEnabled(boolean value) { +763 getDelegateeForModification().setMobEnabled(value); +764 return this; +765 } +766 +767 @Override +768 public MobCompactPartitionPolicy getMobCompactPartitionPolicy() { +769 return delegatee.getMobCompactPartitionPolicy(); +770 } +771 +772 /** +773 * Set the mob compact partition policy for the family. +774 * @param value policy type +775 * @return this (for chained invocation) +776 */ +777 public HColumnDescriptor setMobCompactPartitionPolicy(MobCompactPartitionPolicy value) { +778 getDelegateeForModification().setMobCompactPartitionPolicy(value); +779 return this; +780 } +781 +782 @Override +783 public short getDFSReplication() { +784 return delegatee.getDFSReplication(); +785 } +786 +787 /** +788 * Set the replication factor to hfile(s) belonging to this family +789 * @param value number of replicas the blocks(s) belonging to this CF should have, or +790 * {@link #DEFAULT_DFS_REPLICATION} for the default replication factor set in the +791 * filesystem +792 * @return this (for chained invocation) +793 */ +794 public HColumnDescriptor setDFSReplication(short value) { +795 getDelegateeForModification().setDFSReplication(value); +796 return this; +797 } +798 +799 @Override +800 public String getStoragePolicy() { +801 return delegatee.getStoragePolicy(); +802 } +803 +804 /** +805 * Set the storage policy for use with this family +806 * @param value the policy to set, valid setting includes: <i>"LAZY_PERSIST"</i>, +807 * <i>"ALL_SSD"</i>, <i>"ONE_SSD"</i>, <i>"HOT"</i>, <i>"WARM"</i>, <i>"COLD"</i> +808 */ +809 public HColumnDescriptor setStoragePolicy(String value) { +810 getDelegateeForModification().setStoragePolicy(value); +811 return this; +812 } +813 +814 @Override +815 public Bytes getValue(Bytes key) { +816 return delegatee.getValue(key); +817 } +818 +819 protected ModifyableColumnFamilyDescriptor getDelegateeForModification() { +820 return delegatee; +821 } +822}