hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [43/51] [partial] hbase-site git commit: Published site at .
Date Thu, 24 Aug 2017 15:11:21 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/apidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html b/apidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
index a4266b6..7e6c558 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/HTableDescriptor.html
@@ -503,393 +503,390 @@
 <span class="sourceLineNo">495</span>    if (this == obj) {<a name="line.495"></a>
 <span class="sourceLineNo">496</span>      return true;<a name="line.496"></a>
 <span class="sourceLineNo">497</span>    }<a name="line.497"></a>
-<span class="sourceLineNo">498</span>    if (obj == null) {<a name="line.498"></a>
-<span class="sourceLineNo">499</span>      return false;<a name="line.499"></a>
+<span class="sourceLineNo">498</span>    if (obj instanceof HTableDescriptor) {<a name="line.498"></a>
+<span class="sourceLineNo">499</span>      return delegatee.equals(((HTableDescriptor) obj).delegatee);<a name="line.499"></a>
 <span class="sourceLineNo">500</span>    }<a name="line.500"></a>
-<span class="sourceLineNo">501</span>    if (!(obj instanceof HTableDescriptor)) {<a name="line.501"></a>
-<span class="sourceLineNo">502</span>      return false;<a name="line.502"></a>
-<span class="sourceLineNo">503</span>    }<a name="line.503"></a>
-<span class="sourceLineNo">504</span>    return compareTo((HTableDescriptor)obj) == 0;<a name="line.504"></a>
-<span class="sourceLineNo">505</span>  }<a name="line.505"></a>
-<span class="sourceLineNo">506</span><a name="line.506"></a>
-<span class="sourceLineNo">507</span>  /**<a name="line.507"></a>
-<span class="sourceLineNo">508</span>   * @see java.lang.Object#hashCode()<a name="line.508"></a>
-<span class="sourceLineNo">509</span>   */<a name="line.509"></a>
-<span class="sourceLineNo">510</span>  @Override<a name="line.510"></a>
-<span class="sourceLineNo">511</span>  public int hashCode() {<a name="line.511"></a>
-<span class="sourceLineNo">512</span>    return delegatee.hashCode();<a name="line.512"></a>
-<span class="sourceLineNo">513</span>  }<a name="line.513"></a>
-<span class="sourceLineNo">514</span><a name="line.514"></a>
-<span class="sourceLineNo">515</span>  // Comparable<a name="line.515"></a>
-<span class="sourceLineNo">516</span><a name="line.516"></a>
-<span class="sourceLineNo">517</span>  /**<a name="line.517"></a>
-<span class="sourceLineNo">518</span>   * Compares the descriptor with another descriptor which is passed as a parameter.<a name="line.518"></a>
-<span class="sourceLineNo">519</span>   * This compares the content of the two descriptors and not the reference.<a name="line.519"></a>
-<span class="sourceLineNo">520</span>   *<a name="line.520"></a>
-<span class="sourceLineNo">521</span>   * @return 0 if the contents of the descriptors are exactly matching,<a name="line.521"></a>
-<span class="sourceLineNo">522</span>   *         1 if there is a mismatch in the contents<a name="line.522"></a>
-<span class="sourceLineNo">523</span>   */<a name="line.523"></a>
-<span class="sourceLineNo">524</span>  @Override<a name="line.524"></a>
-<span class="sourceLineNo">525</span>  public int compareTo(final HTableDescriptor other) {<a name="line.525"></a>
-<span class="sourceLineNo">526</span>    return delegatee.compareTo(other.delegatee);<a name="line.526"></a>
-<span class="sourceLineNo">527</span>  }<a name="line.527"></a>
-<span class="sourceLineNo">528</span><a name="line.528"></a>
-<span class="sourceLineNo">529</span>  /**<a name="line.529"></a>
-<span class="sourceLineNo">530</span>   * Returns an unmodifiable collection of all the {@link HColumnDescriptor}<a name="line.530"></a>
-<span class="sourceLineNo">531</span>   * of all the column families of the table.<a name="line.531"></a>
-<span class="sourceLineNo">532</span>   * @deprecated Use {@link #getColumnFamilies}.<a name="line.532"></a>
-<span class="sourceLineNo">533</span>   * @return Immutable collection of {@link HColumnDescriptor} of all the<a name="line.533"></a>
-<span class="sourceLineNo">534</span>   * column families.<a name="line.534"></a>
-<span class="sourceLineNo">535</span>   */<a name="line.535"></a>
-<span class="sourceLineNo">536</span>  @Deprecated<a name="line.536"></a>
-<span class="sourceLineNo">537</span>  public Collection&lt;HColumnDescriptor&gt; getFamilies() {<a name="line.537"></a>
-<span class="sourceLineNo">538</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.538"></a>
-<span class="sourceLineNo">539</span>            .map(this::toHColumnDescriptor)<a name="line.539"></a>
-<span class="sourceLineNo">540</span>            .collect(Collectors.toList());<a name="line.540"></a>
-<span class="sourceLineNo">541</span>  }<a name="line.541"></a>
-<span class="sourceLineNo">542</span><a name="line.542"></a>
-<span class="sourceLineNo">543</span>  /**<a name="line.543"></a>
-<span class="sourceLineNo">544</span>   * Return true if there are at least one cf whose replication scope is serial.<a name="line.544"></a>
-<span class="sourceLineNo">545</span>   */<a name="line.545"></a>
-<span class="sourceLineNo">546</span>  @Override<a name="line.546"></a>
-<span class="sourceLineNo">547</span>  public boolean hasSerialReplicationScope() {<a name="line.547"></a>
-<span class="sourceLineNo">548</span>    return delegatee.hasSerialReplicationScope();<a name="line.548"></a>
-<span class="sourceLineNo">549</span>  }<a name="line.549"></a>
-<span class="sourceLineNo">550</span><a name="line.550"></a>
-<span class="sourceLineNo">551</span>  /**<a name="line.551"></a>
-<span class="sourceLineNo">552</span>   * Returns the configured replicas per region<a name="line.552"></a>
-<span class="sourceLineNo">553</span>   */<a name="line.553"></a>
-<span class="sourceLineNo">554</span>  @Override<a name="line.554"></a>
-<span class="sourceLineNo">555</span>  public int getRegionReplication() {<a name="line.555"></a>
-<span class="sourceLineNo">556</span>    return delegatee.getRegionReplication();<a name="line.556"></a>
-<span class="sourceLineNo">557</span>  }<a name="line.557"></a>
-<span class="sourceLineNo">558</span><a name="line.558"></a>
-<span class="sourceLineNo">559</span>  /**<a name="line.559"></a>
-<span class="sourceLineNo">560</span>   * Sets the number of replicas per region.<a name="line.560"></a>
-<span class="sourceLineNo">561</span>   * @param regionReplication the replication factor per region<a name="line.561"></a>
-<span class="sourceLineNo">562</span>   */<a name="line.562"></a>
-<span class="sourceLineNo">563</span>  public HTableDescriptor setRegionReplication(int regionReplication) {<a name="line.563"></a>
-<span class="sourceLineNo">564</span>    getDelegateeForModification().setRegionReplication(regionReplication);<a name="line.564"></a>
-<span class="sourceLineNo">565</span>    return this;<a name="line.565"></a>
-<span class="sourceLineNo">566</span>  }<a name="line.566"></a>
-<span class="sourceLineNo">567</span><a name="line.567"></a>
-<span class="sourceLineNo">568</span>  /**<a name="line.568"></a>
-<span class="sourceLineNo">569</span>   * @return true if the read-replicas memstore replication is enabled.<a name="line.569"></a>
-<span class="sourceLineNo">570</span>   */<a name="line.570"></a>
-<span class="sourceLineNo">571</span>  @Override<a name="line.571"></a>
-<span class="sourceLineNo">572</span>  public boolean hasRegionMemstoreReplication() {<a name="line.572"></a>
-<span class="sourceLineNo">573</span>    return delegatee.hasRegionMemstoreReplication();<a name="line.573"></a>
-<span class="sourceLineNo">574</span>  }<a name="line.574"></a>
-<span class="sourceLineNo">575</span><a name="line.575"></a>
-<span class="sourceLineNo">576</span>  /**<a name="line.576"></a>
-<span class="sourceLineNo">577</span>   * Enable or Disable the memstore replication from the primary region to the replicas.<a name="line.577"></a>
-<span class="sourceLineNo">578</span>   * The replication will be used only for meta operations (e.g. flush, compaction, ...)<a name="line.578"></a>
-<span class="sourceLineNo">579</span>   *<a name="line.579"></a>
-<span class="sourceLineNo">580</span>   * @param memstoreReplication true if the new data written to the primary region<a name="line.580"></a>
-<span class="sourceLineNo">581</span>   *                                 should be replicated.<a name="line.581"></a>
-<span class="sourceLineNo">582</span>   *                            false if the secondaries can tollerate to have new<a name="line.582"></a>
-<span class="sourceLineNo">583</span>   *                                  data only when the primary flushes the memstore.<a name="line.583"></a>
-<span class="sourceLineNo">584</span>   */<a name="line.584"></a>
-<span class="sourceLineNo">585</span>  public HTableDescriptor setRegionMemstoreReplication(boolean memstoreReplication) {<a name="line.585"></a>
-<span class="sourceLineNo">586</span>    getDelegateeForModification().setRegionMemstoreReplication(memstoreReplication);<a name="line.586"></a>
-<span class="sourceLineNo">587</span>    return this;<a name="line.587"></a>
-<span class="sourceLineNo">588</span>  }<a name="line.588"></a>
-<span class="sourceLineNo">589</span><a name="line.589"></a>
-<span class="sourceLineNo">590</span>  public HTableDescriptor setPriority(int priority) {<a name="line.590"></a>
-<span class="sourceLineNo">591</span>    getDelegateeForModification().setPriority(priority);<a name="line.591"></a>
-<span class="sourceLineNo">592</span>    return this;<a name="line.592"></a>
-<span class="sourceLineNo">593</span>  }<a name="line.593"></a>
-<span class="sourceLineNo">594</span><a name="line.594"></a>
-<span class="sourceLineNo">595</span>  @Override<a name="line.595"></a>
-<span class="sourceLineNo">596</span>  public int getPriority() {<a name="line.596"></a>
-<span class="sourceLineNo">597</span>    return delegatee.getPriority();<a name="line.597"></a>
-<span class="sourceLineNo">598</span>  }<a name="line.598"></a>
-<span class="sourceLineNo">599</span><a name="line.599"></a>
-<span class="sourceLineNo">600</span>  /**<a name="line.600"></a>
-<span class="sourceLineNo">601</span>   * Returns all the column family names of the current table. The map of<a name="line.601"></a>
-<span class="sourceLineNo">602</span>   * HTableDescriptor contains mapping of family name to HColumnDescriptors.<a name="line.602"></a>
-<span class="sourceLineNo">603</span>   * This returns all the keys of the family map which represents the column<a name="line.603"></a>
-<span class="sourceLineNo">604</span>   * family names of the table.<a name="line.604"></a>
-<span class="sourceLineNo">605</span>   *<a name="line.605"></a>
-<span class="sourceLineNo">606</span>   * @return Immutable sorted set of the keys of the families.<a name="line.606"></a>
-<span class="sourceLineNo">607</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0<a name="line.607"></a>
-<span class="sourceLineNo">608</span>   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-18008"&gt;HBASE-18008&lt;/a&gt;).<a name="line.608"></a>
-<span class="sourceLineNo">609</span>   *             Use {@link #getColumnFamilyNames()}.<a name="line.609"></a>
-<span class="sourceLineNo">610</span>   */<a name="line.610"></a>
-<span class="sourceLineNo">611</span>  @Deprecated<a name="line.611"></a>
-<span class="sourceLineNo">612</span>  public Set&lt;byte[]&gt; getFamiliesKeys() {<a name="line.612"></a>
-<span class="sourceLineNo">613</span>    return delegatee.getColumnFamilyNames();<a name="line.613"></a>
-<span class="sourceLineNo">614</span>  }<a name="line.614"></a>
-<span class="sourceLineNo">615</span><a name="line.615"></a>
-<span class="sourceLineNo">616</span>  /**<a name="line.616"></a>
-<span class="sourceLineNo">617</span>   * Returns the count of the column families of the table.<a name="line.617"></a>
-<span class="sourceLineNo">618</span>   *<a name="line.618"></a>
-<span class="sourceLineNo">619</span>   * @return Count of column families of the table<a name="line.619"></a>
-<span class="sourceLineNo">620</span>   */<a name="line.620"></a>
-<span class="sourceLineNo">621</span>  @Override<a name="line.621"></a>
-<span class="sourceLineNo">622</span>  public int getColumnFamilyCount() {<a name="line.622"></a>
-<span class="sourceLineNo">623</span>    return delegatee.getColumnFamilyCount();<a name="line.623"></a>
-<span class="sourceLineNo">624</span>  }<a name="line.624"></a>
-<span class="sourceLineNo">625</span><a name="line.625"></a>
-<span class="sourceLineNo">626</span>  /**<a name="line.626"></a>
-<span class="sourceLineNo">627</span>   * Returns an array all the {@link HColumnDescriptor} of the column families<a name="line.627"></a>
-<span class="sourceLineNo">628</span>   * of the table.<a name="line.628"></a>
-<span class="sourceLineNo">629</span>   *<a name="line.629"></a>
-<span class="sourceLineNo">630</span>   * @return Array of all the HColumnDescriptors of the current table<a name="line.630"></a>
-<span class="sourceLineNo">631</span>   *<a name="line.631"></a>
-<span class="sourceLineNo">632</span>   * @see #getFamilies()<a name="line.632"></a>
-<span class="sourceLineNo">633</span>   */<a name="line.633"></a>
-<span class="sourceLineNo">634</span>  @Deprecated<a name="line.634"></a>
-<span class="sourceLineNo">635</span>  @Override<a name="line.635"></a>
-<span class="sourceLineNo">636</span>  public HColumnDescriptor[] getColumnFamilies() {<a name="line.636"></a>
-<span class="sourceLineNo">637</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.637"></a>
-<span class="sourceLineNo">638</span>            .map(this::toHColumnDescriptor)<a name="line.638"></a>
-<span class="sourceLineNo">639</span>            .toArray(size -&gt; new HColumnDescriptor[size]);<a name="line.639"></a>
-<span class="sourceLineNo">640</span>  }<a name="line.640"></a>
-<span class="sourceLineNo">641</span><a name="line.641"></a>
-<span class="sourceLineNo">642</span>  /**<a name="line.642"></a>
-<span class="sourceLineNo">643</span>   * Returns the HColumnDescriptor for a specific column family with name as<a name="line.643"></a>
-<span class="sourceLineNo">644</span>   * specified by the parameter column.<a name="line.644"></a>
-<span class="sourceLineNo">645</span>   * @param column Column family name<a name="line.645"></a>
-<span class="sourceLineNo">646</span>   * @return Column descriptor for the passed family name or the family on<a name="line.646"></a>
-<span class="sourceLineNo">647</span>   * passed in column.<a name="line.647"></a>
-<span class="sourceLineNo">648</span>   * @deprecated Use {@link #getColumnFamily(byte[])}.<a name="line.648"></a>
-<span class="sourceLineNo">649</span>   */<a name="line.649"></a>
-<span class="sourceLineNo">650</span>  @Deprecated<a name="line.650"></a>
-<span class="sourceLineNo">651</span>  public HColumnDescriptor getFamily(final byte[] column) {<a name="line.651"></a>
-<span class="sourceLineNo">652</span>    return toHColumnDescriptor(delegatee.getColumnFamily(column));<a name="line.652"></a>
-<span class="sourceLineNo">653</span>  }<a name="line.653"></a>
-<span class="sourceLineNo">654</span><a name="line.654"></a>
-<span class="sourceLineNo">655</span><a name="line.655"></a>
-<span class="sourceLineNo">656</span>  /**<a name="line.656"></a>
-<span class="sourceLineNo">657</span>   * Removes the HColumnDescriptor with name specified by the parameter column<a name="line.657"></a>
-<span class="sourceLineNo">658</span>   * from the table descriptor<a name="line.658"></a>
-<span class="sourceLineNo">659</span>   *<a name="line.659"></a>
-<span class="sourceLineNo">660</span>   * @param column Name of the column family to be removed.<a name="line.660"></a>
-<span class="sourceLineNo">661</span>   * @return Column descriptor for the passed family name or the family on<a name="line.661"></a>
-<span class="sourceLineNo">662</span>   * passed in column.<a name="line.662"></a>
-<span class="sourceLineNo">663</span>   */<a name="line.663"></a>
-<span class="sourceLineNo">664</span>  public HColumnDescriptor removeFamily(final byte [] column) {<a name="line.664"></a>
-<span class="sourceLineNo">665</span>    return toHColumnDescriptor(getDelegateeForModification().removeColumnFamily(column));<a name="line.665"></a>
-<span class="sourceLineNo">666</span>  }<a name="line.666"></a>
-<span class="sourceLineNo">667</span><a name="line.667"></a>
-<span class="sourceLineNo">668</span>  /**<a name="line.668"></a>
-<span class="sourceLineNo">669</span>   * Return a HColumnDescriptor for user to keep the compatibility as much as possible.<a name="line.669"></a>
-<span class="sourceLineNo">670</span>   * @param desc read-only ColumnFamilyDescriptor<a name="line.670"></a>
-<span class="sourceLineNo">671</span>   * @return The older implementation of ColumnFamilyDescriptor<a name="line.671"></a>
-<span class="sourceLineNo">672</span>   */<a name="line.672"></a>
-<span class="sourceLineNo">673</span>  protected HColumnDescriptor toHColumnDescriptor(ColumnFamilyDescriptor desc) {<a name="line.673"></a>
-<span class="sourceLineNo">674</span>    if (desc == null) {<a name="line.674"></a>
-<span class="sourceLineNo">675</span>      return null;<a name="line.675"></a>
-<span class="sourceLineNo">676</span>    } else if (desc instanceof ModifyableColumnFamilyDescriptor) {<a name="line.676"></a>
-<span class="sourceLineNo">677</span>      return new HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc);<a name="line.677"></a>
-<span class="sourceLineNo">678</span>    } else if (desc instanceof HColumnDescriptor) {<a name="line.678"></a>
-<span class="sourceLineNo">679</span>      return (HColumnDescriptor) desc;<a name="line.679"></a>
-<span class="sourceLineNo">680</span>    } else {<a name="line.680"></a>
-<span class="sourceLineNo">681</span>      return new HColumnDescriptor(new ModifyableColumnFamilyDescriptor(desc));<a name="line.681"></a>
-<span class="sourceLineNo">682</span>    }<a name="line.682"></a>
-<span class="sourceLineNo">683</span>  }<a name="line.683"></a>
-<span class="sourceLineNo">684</span><a name="line.684"></a>
-<span class="sourceLineNo">685</span>  /**<a name="line.685"></a>
-<span class="sourceLineNo">686</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.686"></a>
-<span class="sourceLineNo">687</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionObserver<a name="line.687"></a>
-<span class="sourceLineNo">688</span>   * or Endpoint.<a name="line.688"></a>
-<span class="sourceLineNo">689</span>   * It won't check if the class can be loaded or not.<a name="line.689"></a>
-<span class="sourceLineNo">690</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.690"></a>
-<span class="sourceLineNo">691</span>   * a region is opened.<a name="line.691"></a>
-<span class="sourceLineNo">692</span>   * @param className Full class name.<a name="line.692"></a>
-<span class="sourceLineNo">693</span>   * @throws IOException<a name="line.693"></a>
-<span class="sourceLineNo">694</span>   */<a name="line.694"></a>
-<span class="sourceLineNo">695</span>  public HTableDescriptor addCoprocessor(String className) throws IOException {<a name="line.695"></a>
-<span class="sourceLineNo">696</span>    getDelegateeForModification().addCoprocessor(className);<a name="line.696"></a>
-<span class="sourceLineNo">697</span>    return this;<a name="line.697"></a>
-<span class="sourceLineNo">698</span>  }<a name="line.698"></a>
-<span class="sourceLineNo">699</span><a name="line.699"></a>
-<span class="sourceLineNo">700</span>  /**<a name="line.700"></a>
-<span class="sourceLineNo">701</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.701"></a>
-<span class="sourceLineNo">702</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionObserver<a name="line.702"></a>
-<span class="sourceLineNo">703</span>   * or Endpoint.<a name="line.703"></a>
-<span class="sourceLineNo">704</span>   * It won't check if the class can be loaded or not.<a name="line.704"></a>
-<span class="sourceLineNo">705</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.705"></a>
-<span class="sourceLineNo">706</span>   * a region is opened.<a name="line.706"></a>
-<span class="sourceLineNo">707</span>   * @param jarFilePath Path of the jar file. If it's null, the class will be<a name="line.707"></a>
-<span class="sourceLineNo">708</span>   * loaded from default classloader.<a name="line.708"></a>
-<span class="sourceLineNo">709</span>   * @param className Full class name.<a name="line.709"></a>
-<span class="sourceLineNo">710</span>   * @param priority Priority<a name="line.710"></a>
-<span class="sourceLineNo">711</span>   * @param kvs Arbitrary key-value parameter pairs passed into the coprocessor.<a name="line.711"></a>
-<span class="sourceLineNo">712</span>   * @throws IOException<a name="line.712"></a>
-<span class="sourceLineNo">713</span>   */<a name="line.713"></a>
-<span class="sourceLineNo">714</span>  public HTableDescriptor addCoprocessor(String className, Path jarFilePath,<a name="line.714"></a>
-<span class="sourceLineNo">715</span>                             int priority, final Map&lt;String, String&gt; kvs)<a name="line.715"></a>
-<span class="sourceLineNo">716</span>  throws IOException {<a name="line.716"></a>
-<span class="sourceLineNo">717</span>    getDelegateeForModification().addCoprocessor(className, jarFilePath, priority, kvs);<a name="line.717"></a>
-<span class="sourceLineNo">718</span>    return this;<a name="line.718"></a>
-<span class="sourceLineNo">719</span>  }<a name="line.719"></a>
-<span class="sourceLineNo">720</span><a name="line.720"></a>
-<span class="sourceLineNo">721</span>  /**<a name="line.721"></a>
-<span class="sourceLineNo">722</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.722"></a>
-<span class="sourceLineNo">723</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionObserver<a name="line.723"></a>
-<span class="sourceLineNo">724</span>   * or Endpoint.<a name="line.724"></a>
-<span class="sourceLineNo">725</span>   * It won't check if the class can be loaded or not.<a name="line.725"></a>
-<span class="sourceLineNo">726</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.726"></a>
-<span class="sourceLineNo">727</span>   * a region is opened.<a name="line.727"></a>
-<span class="sourceLineNo">728</span>   * @param specStr The Coprocessor specification all in in one String formatted so matches<a name="line.728"></a>
-<span class="sourceLineNo">729</span>   * {@link HConstants#CP_HTD_ATTR_VALUE_PATTERN}<a name="line.729"></a>
-<span class="sourceLineNo">730</span>   * @throws IOException<a name="line.730"></a>
-<span class="sourceLineNo">731</span>   */<a name="line.731"></a>
-<span class="sourceLineNo">732</span>  public HTableDescriptor addCoprocessorWithSpec(final String specStr) throws IOException {<a name="line.732"></a>
-<span class="sourceLineNo">733</span>    getDelegateeForModification().addCoprocessorWithSpec(specStr);<a name="line.733"></a>
-<span class="sourceLineNo">734</span>    return this;<a name="line.734"></a>
-<span class="sourceLineNo">735</span>  }<a name="line.735"></a>
-<span class="sourceLineNo">736</span><a name="line.736"></a>
-<span class="sourceLineNo">737</span>  /**<a name="line.737"></a>
-<span class="sourceLineNo">738</span>   * Check if the table has an attached co-processor represented by the name className<a name="line.738"></a>
-<span class="sourceLineNo">739</span>   *<a name="line.739"></a>
-<span class="sourceLineNo">740</span>   * @param classNameToMatch - Class name of the co-processor<a name="line.740"></a>
-<span class="sourceLineNo">741</span>   * @return true of the table has a co-processor className<a name="line.741"></a>
-<span class="sourceLineNo">742</span>   */<a name="line.742"></a>
-<span class="sourceLineNo">743</span>  @Override<a name="line.743"></a>
-<span class="sourceLineNo">744</span>  public boolean hasCoprocessor(String classNameToMatch) {<a name="line.744"></a>
-<span class="sourceLineNo">745</span>    return delegatee.hasCoprocessor(classNameToMatch);<a name="line.745"></a>
-<span class="sourceLineNo">746</span>  }<a name="line.746"></a>
-<span class="sourceLineNo">747</span><a name="line.747"></a>
-<span class="sourceLineNo">748</span>  /**<a name="line.748"></a>
-<span class="sourceLineNo">749</span>   * Return the list of attached co-processor represented by their name className<a name="line.749"></a>
-<span class="sourceLineNo">750</span>   *<a name="line.750"></a>
-<span class="sourceLineNo">751</span>   * @return The list of co-processors classNames<a name="line.751"></a>
-<span class="sourceLineNo">752</span>   */<a name="line.752"></a>
-<span class="sourceLineNo">753</span>  @Override<a name="line.753"></a>
-<span class="sourceLineNo">754</span>  public List&lt;String&gt; getCoprocessors() {<a name="line.754"></a>
-<span class="sourceLineNo">755</span>    return delegatee.getCoprocessors();<a name="line.755"></a>
-<span class="sourceLineNo">756</span>  }<a name="line.756"></a>
-<span class="sourceLineNo">757</span><a name="line.757"></a>
-<span class="sourceLineNo">758</span>  /**<a name="line.758"></a>
-<span class="sourceLineNo">759</span>   * Remove a coprocessor from those set on the table<a name="line.759"></a>
-<span class="sourceLineNo">760</span>   * @param className Class name of the co-processor<a name="line.760"></a>
-<span class="sourceLineNo">761</span>   */<a name="line.761"></a>
-<span class="sourceLineNo">762</span>  public void removeCoprocessor(String className) {<a name="line.762"></a>
-<span class="sourceLineNo">763</span>    getDelegateeForModification().removeCoprocessor(className);<a name="line.763"></a>
-<span class="sourceLineNo">764</span>  }<a name="line.764"></a>
-<span class="sourceLineNo">765</span><a name="line.765"></a>
-<span class="sourceLineNo">766</span>  public final static String NAMESPACE_FAMILY_INFO = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO;<a name="line.766"></a>
-<span class="sourceLineNo">767</span>  public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO_BYTES;<a name="line.767"></a>
-<span class="sourceLineNo">768</span>  public final static byte[] NAMESPACE_COL_DESC_BYTES = TableDescriptorBuilder.NAMESPACE_COL_DESC_BYTES;<a name="line.768"></a>
-<span class="sourceLineNo">769</span><a name="line.769"></a>
-<span class="sourceLineNo">770</span>  /** Table descriptor for namespace table */<a name="line.770"></a>
-<span class="sourceLineNo">771</span>  public static final HTableDescriptor NAMESPACE_TABLEDESC<a name="line.771"></a>
-<span class="sourceLineNo">772</span>    = new HTableDescriptor(TableDescriptorBuilder.NAMESPACE_TABLEDESC);<a name="line.772"></a>
-<span class="sourceLineNo">773</span><a name="line.773"></a>
-<span class="sourceLineNo">774</span>  @Deprecated<a name="line.774"></a>
-<span class="sourceLineNo">775</span>  public HTableDescriptor setOwner(User owner) {<a name="line.775"></a>
-<span class="sourceLineNo">776</span>    getDelegateeForModification().setOwner(owner);<a name="line.776"></a>
-<span class="sourceLineNo">777</span>    return this;<a name="line.777"></a>
-<span class="sourceLineNo">778</span>  }<a name="line.778"></a>
-<span class="sourceLineNo">779</span><a name="line.779"></a>
-<span class="sourceLineNo">780</span>  // used by admin.rb:alter(table_name,*args) to update owner.<a name="line.780"></a>
-<span class="sourceLineNo">781</span>  @Deprecated<a name="line.781"></a>
-<span class="sourceLineNo">782</span>  public HTableDescriptor setOwnerString(String ownerString) {<a name="line.782"></a>
-<span class="sourceLineNo">783</span>    getDelegateeForModification().setOwnerString(ownerString);<a name="line.783"></a>
-<span class="sourceLineNo">784</span>    return this;<a name="line.784"></a>
-<span class="sourceLineNo">785</span>  }<a name="line.785"></a>
-<span class="sourceLineNo">786</span><a name="line.786"></a>
-<span class="sourceLineNo">787</span>  @Override<a name="line.787"></a>
-<span class="sourceLineNo">788</span>  @Deprecated<a name="line.788"></a>
-<span class="sourceLineNo">789</span>  public String getOwnerString() {<a name="line.789"></a>
-<span class="sourceLineNo">790</span>    return delegatee.getOwnerString();<a name="line.790"></a>
-<span class="sourceLineNo">791</span>  }<a name="line.791"></a>
-<span class="sourceLineNo">792</span><a name="line.792"></a>
-<span class="sourceLineNo">793</span>  /**<a name="line.793"></a>
-<span class="sourceLineNo">794</span>   * @return This instance serialized with pb with pb magic prefix<a name="line.794"></a>
-<span class="sourceLineNo">795</span>   * @see #parseFrom(byte[])<a name="line.795"></a>
-<span class="sourceLineNo">796</span>   */<a name="line.796"></a>
-<span class="sourceLineNo">797</span>  public byte[] toByteArray() {<a name="line.797"></a>
-<span class="sourceLineNo">798</span>    return TableDescriptorBuilder.toByteArray(delegatee);<a name="line.798"></a>
-<span class="sourceLineNo">799</span>  }<a name="line.799"></a>
-<span class="sourceLineNo">800</span><a name="line.800"></a>
-<span class="sourceLineNo">801</span>  /**<a name="line.801"></a>
-<span class="sourceLineNo">802</span>   * @param bytes A pb serialized {@link HTableDescriptor} instance with pb magic prefix<a name="line.802"></a>
-<span class="sourceLineNo">803</span>   * @return An instance of {@link HTableDescriptor} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.803"></a>
-<span class="sourceLineNo">804</span>   * @throws DeserializationException<a name="line.804"></a>
-<span class="sourceLineNo">805</span>   * @throws IOException<a name="line.805"></a>
-<span class="sourceLineNo">806</span>   * @see #toByteArray()<a name="line.806"></a>
-<span class="sourceLineNo">807</span>   */<a name="line.807"></a>
-<span class="sourceLineNo">808</span>  public static HTableDescriptor parseFrom(final byte [] bytes)<a name="line.808"></a>
-<span class="sourceLineNo">809</span>  throws DeserializationException, IOException {<a name="line.809"></a>
-<span class="sourceLineNo">810</span>    TableDescriptor desc = TableDescriptorBuilder.parseFrom(bytes);<a name="line.810"></a>
-<span class="sourceLineNo">811</span>    if (desc instanceof ModifyableTableDescriptor) {<a name="line.811"></a>
-<span class="sourceLineNo">812</span>      return new HTableDescriptor((ModifyableTableDescriptor) desc);<a name="line.812"></a>
-<span class="sourceLineNo">813</span>    } else {<a name="line.813"></a>
-<span class="sourceLineNo">814</span>      return new HTableDescriptor(desc);<a name="line.814"></a>
-<span class="sourceLineNo">815</span>    }<a name="line.815"></a>
-<span class="sourceLineNo">816</span>  }<a name="line.816"></a>
-<span class="sourceLineNo">817</span><a name="line.817"></a>
-<span class="sourceLineNo">818</span>  /**<a name="line.818"></a>
-<span class="sourceLineNo">819</span>   * Getter for accessing the configuration value by key<a name="line.819"></a>
-<span class="sourceLineNo">820</span>   */<a name="line.820"></a>
-<span class="sourceLineNo">821</span>  @Override<a name="line.821"></a>
-<span class="sourceLineNo">822</span>  public String getConfigurationValue(String key) {<a name="line.822"></a>
-<span class="sourceLineNo">823</span>    return delegatee.getConfigurationValue(key);<a name="line.823"></a>
-<span class="sourceLineNo">824</span>  }<a name="line.824"></a>
-<span class="sourceLineNo">825</span><a name="line.825"></a>
-<span class="sourceLineNo">826</span>  /**<a name="line.826"></a>
-<span class="sourceLineNo">827</span>   * Getter for fetching an unmodifiable map.<a name="line.827"></a>
-<span class="sourceLineNo">828</span>   */<a name="line.828"></a>
-<span class="sourceLineNo">829</span>  @Override<a name="line.829"></a>
-<span class="sourceLineNo">830</span>  public Map&lt;String, String&gt; getConfiguration() {<a name="line.830"></a>
-<span class="sourceLineNo">831</span>    return delegatee.getConfiguration();<a name="line.831"></a>
-<span class="sourceLineNo">832</span>  }<a name="line.832"></a>
-<span class="sourceLineNo">833</span><a name="line.833"></a>
-<span class="sourceLineNo">834</span>  /**<a name="line.834"></a>
-<span class="sourceLineNo">835</span>   * Setter for storing a configuration setting in map.<a name="line.835"></a>
-<span class="sourceLineNo">836</span>   * @param key Config key. Same as XML config key e.g. hbase.something.or.other.<a name="line.836"></a>
-<span class="sourceLineNo">837</span>   * @param value String value. If null, removes the setting.<a name="line.837"></a>
-<span class="sourceLineNo">838</span>   */<a name="line.838"></a>
-<span class="sourceLineNo">839</span>  public HTableDescriptor setConfiguration(String key, String value) {<a name="line.839"></a>
-<span class="sourceLineNo">840</span>    getDelegateeForModification().setConfiguration(key, value);<a name="line.840"></a>
-<span class="sourceLineNo">841</span>    return this;<a name="line.841"></a>
-<span class="sourceLineNo">842</span>  }<a name="line.842"></a>
-<span class="sourceLineNo">843</span><a name="line.843"></a>
-<span class="sourceLineNo">844</span>  /**<a name="line.844"></a>
-<span class="sourceLineNo">845</span>   * Remove a config setting represented by the key from the map<a name="line.845"></a>
-<span class="sourceLineNo">846</span>   */<a name="line.846"></a>
-<span class="sourceLineNo">847</span>  public void removeConfiguration(final String key) {<a name="line.847"></a>
-<span class="sourceLineNo">848</span>    getDelegateeForModification().removeConfiguration(key);<a name="line.848"></a>
-<span class="sourceLineNo">849</span>  }<a name="line.849"></a>
-<span class="sourceLineNo">850</span><a name="line.850"></a>
-<span class="sourceLineNo">851</span>  @Override<a name="line.851"></a>
-<span class="sourceLineNo">852</span>  public Bytes getValue(Bytes key) {<a name="line.852"></a>
-<span class="sourceLineNo">853</span>    return delegatee.getValue(key);<a name="line.853"></a>
-<span class="sourceLineNo">854</span>  }<a name="line.854"></a>
-<span class="sourceLineNo">855</span><a name="line.855"></a>
-<span class="sourceLineNo">856</span>  @Override<a name="line.856"></a>
-<span class="sourceLineNo">857</span>  public String getValue(String key) {<a name="line.857"></a>
-<span class="sourceLineNo">858</span>    return delegatee.getValue(key);<a name="line.858"></a>
-<span class="sourceLineNo">859</span>  }<a name="line.859"></a>
-<span class="sourceLineNo">860</span><a name="line.860"></a>
-<span class="sourceLineNo">861</span>  @Override<a name="line.861"></a>
-<span class="sourceLineNo">862</span>  public byte[] getValue(byte[] key) {<a name="line.862"></a>
-<span class="sourceLineNo">863</span>    return delegatee.getValue(key);<a name="line.863"></a>
-<span class="sourceLineNo">864</span>  }<a name="line.864"></a>
-<span class="sourceLineNo">865</span><a name="line.865"></a>
-<span class="sourceLineNo">866</span>  @Override<a name="line.866"></a>
-<span class="sourceLineNo">867</span>  public Set&lt;byte[]&gt; getColumnFamilyNames() {<a name="line.867"></a>
-<span class="sourceLineNo">868</span>    return delegatee.getColumnFamilyNames();<a name="line.868"></a>
-<span class="sourceLineNo">869</span>  }<a name="line.869"></a>
-<span class="sourceLineNo">870</span><a name="line.870"></a>
-<span class="sourceLineNo">871</span>  @Override<a name="line.871"></a>
-<span class="sourceLineNo">872</span>  public boolean hasColumnFamily(byte[] name) {<a name="line.872"></a>
-<span class="sourceLineNo">873</span>    return delegatee.hasColumnFamily(name);<a name="line.873"></a>
-<span class="sourceLineNo">874</span>  }<a name="line.874"></a>
-<span class="sourceLineNo">875</span><a name="line.875"></a>
-<span class="sourceLineNo">876</span>  @Override<a name="line.876"></a>
-<span class="sourceLineNo">877</span>  public ColumnFamilyDescriptor getColumnFamily(byte[] name) {<a name="line.877"></a>
-<span class="sourceLineNo">878</span>    return delegatee.getColumnFamily(name);<a name="line.878"></a>
-<span class="sourceLineNo">879</span>  }<a name="line.879"></a>
-<span class="sourceLineNo">880</span><a name="line.880"></a>
-<span class="sourceLineNo">881</span>  protected ModifyableTableDescriptor getDelegateeForModification() {<a name="line.881"></a>
-<span class="sourceLineNo">882</span>    return delegatee;<a name="line.882"></a>
-<span class="sourceLineNo">883</span>  }<a name="line.883"></a>
-<span class="sourceLineNo">884</span>}<a name="line.884"></a>
+<span class="sourceLineNo">501</span>    return false;<a name="line.501"></a>
+<span class="sourceLineNo">502</span>  }<a name="line.502"></a>
+<span class="sourceLineNo">503</span><a name="line.503"></a>
+<span class="sourceLineNo">504</span>  /**<a name="line.504"></a>
+<span class="sourceLineNo">505</span>   * @see java.lang.Object#hashCode()<a name="line.505"></a>
+<span class="sourceLineNo">506</span>   */<a name="line.506"></a>
+<span class="sourceLineNo">507</span>  @Override<a name="line.507"></a>
+<span class="sourceLineNo">508</span>  public int hashCode() {<a name="line.508"></a>
+<span class="sourceLineNo">509</span>    return delegatee.hashCode();<a name="line.509"></a>
+<span class="sourceLineNo">510</span>  }<a name="line.510"></a>
+<span class="sourceLineNo">511</span><a name="line.511"></a>
+<span class="sourceLineNo">512</span>  // Comparable<a name="line.512"></a>
+<span class="sourceLineNo">513</span><a name="line.513"></a>
+<span class="sourceLineNo">514</span>  /**<a name="line.514"></a>
+<span class="sourceLineNo">515</span>   * Compares the descriptor with another descriptor which is passed as a parameter.<a name="line.515"></a>
+<span class="sourceLineNo">516</span>   * This compares the content of the two descriptors and not the reference.<a name="line.516"></a>
+<span class="sourceLineNo">517</span>   *<a name="line.517"></a>
+<span class="sourceLineNo">518</span>   * @return 0 if the contents of the descriptors are exactly matching,<a name="line.518"></a>
+<span class="sourceLineNo">519</span>   *         1 if there is a mismatch in the contents<a name="line.519"></a>
+<span class="sourceLineNo">520</span>   */<a name="line.520"></a>
+<span class="sourceLineNo">521</span>  @Override<a name="line.521"></a>
+<span class="sourceLineNo">522</span>  public int compareTo(final HTableDescriptor other) {<a name="line.522"></a>
+<span class="sourceLineNo">523</span>    return TableDescriptor.COMPARATOR.compare(this, other);<a name="line.523"></a>
+<span class="sourceLineNo">524</span>  }<a name="line.524"></a>
+<span class="sourceLineNo">525</span><a name="line.525"></a>
+<span class="sourceLineNo">526</span>  /**<a name="line.526"></a>
+<span class="sourceLineNo">527</span>   * Returns an unmodifiable collection of all the {@link HColumnDescriptor}<a name="line.527"></a>
+<span class="sourceLineNo">528</span>   * of all the column families of the table.<a name="line.528"></a>
+<span class="sourceLineNo">529</span>   * @deprecated Use {@link #getColumnFamilies}.<a name="line.529"></a>
+<span class="sourceLineNo">530</span>   * @return Immutable collection of {@link HColumnDescriptor} of all the<a name="line.530"></a>
+<span class="sourceLineNo">531</span>   * column families.<a name="line.531"></a>
+<span class="sourceLineNo">532</span>   */<a name="line.532"></a>
+<span class="sourceLineNo">533</span>  @Deprecated<a name="line.533"></a>
+<span class="sourceLineNo">534</span>  public Collection&lt;HColumnDescriptor&gt; getFamilies() {<a name="line.534"></a>
+<span class="sourceLineNo">535</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.535"></a>
+<span class="sourceLineNo">536</span>            .map(this::toHColumnDescriptor)<a name="line.536"></a>
+<span class="sourceLineNo">537</span>            .collect(Collectors.toList());<a name="line.537"></a>
+<span class="sourceLineNo">538</span>  }<a name="line.538"></a>
+<span class="sourceLineNo">539</span><a name="line.539"></a>
+<span class="sourceLineNo">540</span>  /**<a name="line.540"></a>
+<span class="sourceLineNo">541</span>   * Return true if there are at least one cf whose replication scope is serial.<a name="line.541"></a>
+<span class="sourceLineNo">542</span>   */<a name="line.542"></a>
+<span class="sourceLineNo">543</span>  @Override<a name="line.543"></a>
+<span class="sourceLineNo">544</span>  public boolean hasSerialReplicationScope() {<a name="line.544"></a>
+<span class="sourceLineNo">545</span>    return delegatee.hasSerialReplicationScope();<a name="line.545"></a>
+<span class="sourceLineNo">546</span>  }<a name="line.546"></a>
+<span class="sourceLineNo">547</span><a name="line.547"></a>
+<span class="sourceLineNo">548</span>  /**<a name="line.548"></a>
+<span class="sourceLineNo">549</span>   * Returns the configured replicas per region<a name="line.549"></a>
+<span class="sourceLineNo">550</span>   */<a name="line.550"></a>
+<span class="sourceLineNo">551</span>  @Override<a name="line.551"></a>
+<span class="sourceLineNo">552</span>  public int getRegionReplication() {<a name="line.552"></a>
+<span class="sourceLineNo">553</span>    return delegatee.getRegionReplication();<a name="line.553"></a>
+<span class="sourceLineNo">554</span>  }<a name="line.554"></a>
+<span class="sourceLineNo">555</span><a name="line.555"></a>
+<span class="sourceLineNo">556</span>  /**<a name="line.556"></a>
+<span class="sourceLineNo">557</span>   * Sets the number of replicas per region.<a name="line.557"></a>
+<span class="sourceLineNo">558</span>   * @param regionReplication the replication factor per region<a name="line.558"></a>
+<span class="sourceLineNo">559</span>   */<a name="line.559"></a>
+<span class="sourceLineNo">560</span>  public HTableDescriptor setRegionReplication(int regionReplication) {<a name="line.560"></a>
+<span class="sourceLineNo">561</span>    getDelegateeForModification().setRegionReplication(regionReplication);<a name="line.561"></a>
+<span class="sourceLineNo">562</span>    return this;<a name="line.562"></a>
+<span class="sourceLineNo">563</span>  }<a name="line.563"></a>
+<span class="sourceLineNo">564</span><a name="line.564"></a>
+<span class="sourceLineNo">565</span>  /**<a name="line.565"></a>
+<span class="sourceLineNo">566</span>   * @return true if the read-replicas memstore replication is enabled.<a name="line.566"></a>
+<span class="sourceLineNo">567</span>   */<a name="line.567"></a>
+<span class="sourceLineNo">568</span>  @Override<a name="line.568"></a>
+<span class="sourceLineNo">569</span>  public boolean hasRegionMemstoreReplication() {<a name="line.569"></a>
+<span class="sourceLineNo">570</span>    return delegatee.hasRegionMemstoreReplication();<a name="line.570"></a>
+<span class="sourceLineNo">571</span>  }<a name="line.571"></a>
+<span class="sourceLineNo">572</span><a name="line.572"></a>
+<span class="sourceLineNo">573</span>  /**<a name="line.573"></a>
+<span class="sourceLineNo">574</span>   * Enable or Disable the memstore replication from the primary region to the replicas.<a name="line.574"></a>
+<span class="sourceLineNo">575</span>   * The replication will be used only for meta operations (e.g. flush, compaction, ...)<a name="line.575"></a>
+<span class="sourceLineNo">576</span>   *<a name="line.576"></a>
+<span class="sourceLineNo">577</span>   * @param memstoreReplication true if the new data written to the primary region<a name="line.577"></a>
+<span class="sourceLineNo">578</span>   *                                 should be replicated.<a name="line.578"></a>
+<span class="sourceLineNo">579</span>   *                            false if the secondaries can tollerate to have new<a name="line.579"></a>
+<span class="sourceLineNo">580</span>   *                                  data only when the primary flushes the memstore.<a name="line.580"></a>
+<span class="sourceLineNo">581</span>   */<a name="line.581"></a>
+<span class="sourceLineNo">582</span>  public HTableDescriptor setRegionMemstoreReplication(boolean memstoreReplication) {<a name="line.582"></a>
+<span class="sourceLineNo">583</span>    getDelegateeForModification().setRegionMemstoreReplication(memstoreReplication);<a name="line.583"></a>
+<span class="sourceLineNo">584</span>    return this;<a name="line.584"></a>
+<span class="sourceLineNo">585</span>  }<a name="line.585"></a>
+<span class="sourceLineNo">586</span><a name="line.586"></a>
+<span class="sourceLineNo">587</span>  public HTableDescriptor setPriority(int priority) {<a name="line.587"></a>
+<span class="sourceLineNo">588</span>    getDelegateeForModification().setPriority(priority);<a name="line.588"></a>
+<span class="sourceLineNo">589</span>    return this;<a name="line.589"></a>
+<span class="sourceLineNo">590</span>  }<a name="line.590"></a>
+<span class="sourceLineNo">591</span><a name="line.591"></a>
+<span class="sourceLineNo">592</span>  @Override<a name="line.592"></a>
+<span class="sourceLineNo">593</span>  public int getPriority() {<a name="line.593"></a>
+<span class="sourceLineNo">594</span>    return delegatee.getPriority();<a name="line.594"></a>
+<span class="sourceLineNo">595</span>  }<a name="line.595"></a>
+<span class="sourceLineNo">596</span><a name="line.596"></a>
+<span class="sourceLineNo">597</span>  /**<a name="line.597"></a>
+<span class="sourceLineNo">598</span>   * Returns all the column family names of the current table. The map of<a name="line.598"></a>
+<span class="sourceLineNo">599</span>   * HTableDescriptor contains mapping of family name to HColumnDescriptors.<a name="line.599"></a>
+<span class="sourceLineNo">600</span>   * This returns all the keys of the family map which represents the column<a name="line.600"></a>
+<span class="sourceLineNo">601</span>   * family names of the table.<a name="line.601"></a>
+<span class="sourceLineNo">602</span>   *<a name="line.602"></a>
+<span class="sourceLineNo">603</span>   * @return Immutable sorted set of the keys of the families.<a name="line.603"></a>
+<span class="sourceLineNo">604</span>   * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0<a name="line.604"></a>
+<span class="sourceLineNo">605</span>   *             (&lt;a href="https://issues.apache.org/jira/browse/HBASE-18008"&gt;HBASE-18008&lt;/a&gt;).<a name="line.605"></a>
+<span class="sourceLineNo">606</span>   *             Use {@link #getColumnFamilyNames()}.<a name="line.606"></a>
+<span class="sourceLineNo">607</span>   */<a name="line.607"></a>
+<span class="sourceLineNo">608</span>  @Deprecated<a name="line.608"></a>
+<span class="sourceLineNo">609</span>  public Set&lt;byte[]&gt; getFamiliesKeys() {<a name="line.609"></a>
+<span class="sourceLineNo">610</span>    return delegatee.getColumnFamilyNames();<a name="line.610"></a>
+<span class="sourceLineNo">611</span>  }<a name="line.611"></a>
+<span class="sourceLineNo">612</span><a name="line.612"></a>
+<span class="sourceLineNo">613</span>  /**<a name="line.613"></a>
+<span class="sourceLineNo">614</span>   * Returns the count of the column families of the table.<a name="line.614"></a>
+<span class="sourceLineNo">615</span>   *<a name="line.615"></a>
+<span class="sourceLineNo">616</span>   * @return Count of column families of the table<a name="line.616"></a>
+<span class="sourceLineNo">617</span>   */<a name="line.617"></a>
+<span class="sourceLineNo">618</span>  @Override<a name="line.618"></a>
+<span class="sourceLineNo">619</span>  public int getColumnFamilyCount() {<a name="line.619"></a>
+<span class="sourceLineNo">620</span>    return delegatee.getColumnFamilyCount();<a name="line.620"></a>
+<span class="sourceLineNo">621</span>  }<a name="line.621"></a>
+<span class="sourceLineNo">622</span><a name="line.622"></a>
+<span class="sourceLineNo">623</span>  /**<a name="line.623"></a>
+<span class="sourceLineNo">624</span>   * Returns an array all the {@link HColumnDescriptor} of the column families<a name="line.624"></a>
+<span class="sourceLineNo">625</span>   * of the table.<a name="line.625"></a>
+<span class="sourceLineNo">626</span>   *<a name="line.626"></a>
+<span class="sourceLineNo">627</span>   * @return Array of all the HColumnDescriptors of the current table<a name="line.627"></a>
+<span class="sourceLineNo">628</span>   *<a name="line.628"></a>
+<span class="sourceLineNo">629</span>   * @see #getFamilies()<a name="line.629"></a>
+<span class="sourceLineNo">630</span>   */<a name="line.630"></a>
+<span class="sourceLineNo">631</span>  @Deprecated<a name="line.631"></a>
+<span class="sourceLineNo">632</span>  @Override<a name="line.632"></a>
+<span class="sourceLineNo">633</span>  public HColumnDescriptor[] getColumnFamilies() {<a name="line.633"></a>
+<span class="sourceLineNo">634</span>    return Stream.of(delegatee.getColumnFamilies())<a name="line.634"></a>
+<span class="sourceLineNo">635</span>            .map(this::toHColumnDescriptor)<a name="line.635"></a>
+<span class="sourceLineNo">636</span>            .toArray(size -&gt; new HColumnDescriptor[size]);<a name="line.636"></a>
+<span class="sourceLineNo">637</span>  }<a name="line.637"></a>
+<span class="sourceLineNo">638</span><a name="line.638"></a>
+<span class="sourceLineNo">639</span>  /**<a name="line.639"></a>
+<span class="sourceLineNo">640</span>   * Returns the HColumnDescriptor for a specific column family with name as<a name="line.640"></a>
+<span class="sourceLineNo">641</span>   * specified by the parameter column.<a name="line.641"></a>
+<span class="sourceLineNo">642</span>   * @param column Column family name<a name="line.642"></a>
+<span class="sourceLineNo">643</span>   * @return Column descriptor for the passed family name or the family on<a name="line.643"></a>
+<span class="sourceLineNo">644</span>   * passed in column.<a name="line.644"></a>
+<span class="sourceLineNo">645</span>   * @deprecated Use {@link #getColumnFamily(byte[])}.<a name="line.645"></a>
+<span class="sourceLineNo">646</span>   */<a name="line.646"></a>
+<span class="sourceLineNo">647</span>  @Deprecated<a name="line.647"></a>
+<span class="sourceLineNo">648</span>  public HColumnDescriptor getFamily(final byte[] column) {<a name="line.648"></a>
+<span class="sourceLineNo">649</span>    return toHColumnDescriptor(delegatee.getColumnFamily(column));<a name="line.649"></a>
+<span class="sourceLineNo">650</span>  }<a name="line.650"></a>
+<span class="sourceLineNo">651</span><a name="line.651"></a>
+<span class="sourceLineNo">652</span><a name="line.652"></a>
+<span class="sourceLineNo">653</span>  /**<a name="line.653"></a>
+<span class="sourceLineNo">654</span>   * Removes the HColumnDescriptor with name specified by the parameter column<a name="line.654"></a>
+<span class="sourceLineNo">655</span>   * from the table descriptor<a name="line.655"></a>
+<span class="sourceLineNo">656</span>   *<a name="line.656"></a>
+<span class="sourceLineNo">657</span>   * @param column Name of the column family to be removed.<a name="line.657"></a>
+<span class="sourceLineNo">658</span>   * @return Column descriptor for the passed family name or the family on<a name="line.658"></a>
+<span class="sourceLineNo">659</span>   * passed in column.<a name="line.659"></a>
+<span class="sourceLineNo">660</span>   */<a name="line.660"></a>
+<span class="sourceLineNo">661</span>  public HColumnDescriptor removeFamily(final byte [] column) {<a name="line.661"></a>
+<span class="sourceLineNo">662</span>    return toHColumnDescriptor(getDelegateeForModification().removeColumnFamily(column));<a name="line.662"></a>
+<span class="sourceLineNo">663</span>  }<a name="line.663"></a>
+<span class="sourceLineNo">664</span><a name="line.664"></a>
+<span class="sourceLineNo">665</span>  /**<a name="line.665"></a>
+<span class="sourceLineNo">666</span>   * Return a HColumnDescriptor for user to keep the compatibility as much as possible.<a name="line.666"></a>
+<span class="sourceLineNo">667</span>   * @param desc read-only ColumnFamilyDescriptor<a name="line.667"></a>
+<span class="sourceLineNo">668</span>   * @return The older implementation of ColumnFamilyDescriptor<a name="line.668"></a>
+<span class="sourceLineNo">669</span>   */<a name="line.669"></a>
+<span class="sourceLineNo">670</span>  protected HColumnDescriptor toHColumnDescriptor(ColumnFamilyDescriptor desc) {<a name="line.670"></a>
+<span class="sourceLineNo">671</span>    if (desc == null) {<a name="line.671"></a>
+<span class="sourceLineNo">672</span>      return null;<a name="line.672"></a>
+<span class="sourceLineNo">673</span>    } else if (desc instanceof ModifyableColumnFamilyDescriptor) {<a name="line.673"></a>
+<span class="sourceLineNo">674</span>      return new HColumnDescriptor((ModifyableColumnFamilyDescriptor) desc);<a name="line.674"></a>
+<span class="sourceLineNo">675</span>    } else if (desc instanceof HColumnDescriptor) {<a name="line.675"></a>
+<span class="sourceLineNo">676</span>      return (HColumnDescriptor) desc;<a name="line.676"></a>
+<span class="sourceLineNo">677</span>    } else {<a name="line.677"></a>
+<span class="sourceLineNo">678</span>      return new HColumnDescriptor(new ModifyableColumnFamilyDescriptor(desc));<a name="line.678"></a>
+<span class="sourceLineNo">679</span>    }<a name="line.679"></a>
+<span class="sourceLineNo">680</span>  }<a name="line.680"></a>
+<span class="sourceLineNo">681</span><a name="line.681"></a>
+<span class="sourceLineNo">682</span>  /**<a name="line.682"></a>
+<span class="sourceLineNo">683</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.683"></a>
+<span class="sourceLineNo">684</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionObserver<a name="line.684"></a>
+<span class="sourceLineNo">685</span>   * or Endpoint.<a name="line.685"></a>
+<span class="sourceLineNo">686</span>   * It won't check if the class can be loaded or not.<a name="line.686"></a>
+<span class="sourceLineNo">687</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.687"></a>
+<span class="sourceLineNo">688</span>   * a region is opened.<a name="line.688"></a>
+<span class="sourceLineNo">689</span>   * @param className Full class name.<a name="line.689"></a>
+<span class="sourceLineNo">690</span>   * @throws IOException<a name="line.690"></a>
+<span class="sourceLineNo">691</span>   */<a name="line.691"></a>
+<span class="sourceLineNo">692</span>  public HTableDescriptor addCoprocessor(String className) throws IOException {<a name="line.692"></a>
+<span class="sourceLineNo">693</span>    getDelegateeForModification().addCoprocessor(className);<a name="line.693"></a>
+<span class="sourceLineNo">694</span>    return this;<a name="line.694"></a>
+<span class="sourceLineNo">695</span>  }<a name="line.695"></a>
+<span class="sourceLineNo">696</span><a name="line.696"></a>
+<span class="sourceLineNo">697</span>  /**<a name="line.697"></a>
+<span class="sourceLineNo">698</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.698"></a>
+<span class="sourceLineNo">699</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionObserver<a name="line.699"></a>
+<span class="sourceLineNo">700</span>   * or Endpoint.<a name="line.700"></a>
+<span class="sourceLineNo">701</span>   * It won't check if the class can be loaded or not.<a name="line.701"></a>
+<span class="sourceLineNo">702</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.702"></a>
+<span class="sourceLineNo">703</span>   * a region is opened.<a name="line.703"></a>
+<span class="sourceLineNo">704</span>   * @param jarFilePath Path of the jar file. If it's null, the class will be<a name="line.704"></a>
+<span class="sourceLineNo">705</span>   * loaded from default classloader.<a name="line.705"></a>
+<span class="sourceLineNo">706</span>   * @param className Full class name.<a name="line.706"></a>
+<span class="sourceLineNo">707</span>   * @param priority Priority<a name="line.707"></a>
+<span class="sourceLineNo">708</span>   * @param kvs Arbitrary key-value parameter pairs passed into the coprocessor.<a name="line.708"></a>
+<span class="sourceLineNo">709</span>   * @throws IOException<a name="line.709"></a>
+<span class="sourceLineNo">710</span>   */<a name="line.710"></a>
+<span class="sourceLineNo">711</span>  public HTableDescriptor addCoprocessor(String className, Path jarFilePath,<a name="line.711"></a>
+<span class="sourceLineNo">712</span>                             int priority, final Map&lt;String, String&gt; kvs)<a name="line.712"></a>
+<span class="sourceLineNo">713</span>  throws IOException {<a name="line.713"></a>
+<span class="sourceLineNo">714</span>    getDelegateeForModification().addCoprocessor(className, jarFilePath, priority, kvs);<a name="line.714"></a>
+<span class="sourceLineNo">715</span>    return this;<a name="line.715"></a>
+<span class="sourceLineNo">716</span>  }<a name="line.716"></a>
+<span class="sourceLineNo">717</span><a name="line.717"></a>
+<span class="sourceLineNo">718</span>  /**<a name="line.718"></a>
+<span class="sourceLineNo">719</span>   * Add a table coprocessor to this table. The coprocessor<a name="line.719"></a>
+<span class="sourceLineNo">720</span>   * type must be org.apache.hadoop.hbase.coprocessor.RegionObserver<a name="line.720"></a>
+<span class="sourceLineNo">721</span>   * or Endpoint.<a name="line.721"></a>
+<span class="sourceLineNo">722</span>   * It won't check if the class can be loaded or not.<a name="line.722"></a>
+<span class="sourceLineNo">723</span>   * Whether a coprocessor is loadable or not will be determined when<a name="line.723"></a>
+<span class="sourceLineNo">724</span>   * a region is opened.<a name="line.724"></a>
+<span class="sourceLineNo">725</span>   * @param specStr The Coprocessor specification all in in one String formatted so matches<a name="line.725"></a>
+<span class="sourceLineNo">726</span>   * {@link HConstants#CP_HTD_ATTR_VALUE_PATTERN}<a name="line.726"></a>
+<span class="sourceLineNo">727</span>   * @throws IOException<a name="line.727"></a>
+<span class="sourceLineNo">728</span>   */<a name="line.728"></a>
+<span class="sourceLineNo">729</span>  public HTableDescriptor addCoprocessorWithSpec(final String specStr) throws IOException {<a name="line.729"></a>
+<span class="sourceLineNo">730</span>    getDelegateeForModification().addCoprocessorWithSpec(specStr);<a name="line.730"></a>
+<span class="sourceLineNo">731</span>    return this;<a name="line.731"></a>
+<span class="sourceLineNo">732</span>  }<a name="line.732"></a>
+<span class="sourceLineNo">733</span><a name="line.733"></a>
+<span class="sourceLineNo">734</span>  /**<a name="line.734"></a>
+<span class="sourceLineNo">735</span>   * Check if the table has an attached co-processor represented by the name className<a name="line.735"></a>
+<span class="sourceLineNo">736</span>   *<a name="line.736"></a>
+<span class="sourceLineNo">737</span>   * @param classNameToMatch - Class name of the co-processor<a name="line.737"></a>
+<span class="sourceLineNo">738</span>   * @return true of the table has a co-processor className<a name="line.738"></a>
+<span class="sourceLineNo">739</span>   */<a name="line.739"></a>
+<span class="sourceLineNo">740</span>  @Override<a name="line.740"></a>
+<span class="sourceLineNo">741</span>  public boolean hasCoprocessor(String classNameToMatch) {<a name="line.741"></a>
+<span class="sourceLineNo">742</span>    return delegatee.hasCoprocessor(classNameToMatch);<a name="line.742"></a>
+<span class="sourceLineNo">743</span>  }<a name="line.743"></a>
+<span class="sourceLineNo">744</span><a name="line.744"></a>
+<span class="sourceLineNo">745</span>  /**<a name="line.745"></a>
+<span class="sourceLineNo">746</span>   * Return the list of attached co-processor represented by their name className<a name="line.746"></a>
+<span class="sourceLineNo">747</span>   *<a name="line.747"></a>
+<span class="sourceLineNo">748</span>   * @return The list of co-processors classNames<a name="line.748"></a>
+<span class="sourceLineNo">749</span>   */<a name="line.749"></a>
+<span class="sourceLineNo">750</span>  @Override<a name="line.750"></a>
+<span class="sourceLineNo">751</span>  public List&lt;String&gt; getCoprocessors() {<a name="line.751"></a>
+<span class="sourceLineNo">752</span>    return delegatee.getCoprocessors();<a name="line.752"></a>
+<span class="sourceLineNo">753</span>  }<a name="line.753"></a>
+<span class="sourceLineNo">754</span><a name="line.754"></a>
+<span class="sourceLineNo">755</span>  /**<a name="line.755"></a>
+<span class="sourceLineNo">756</span>   * Remove a coprocessor from those set on the table<a name="line.756"></a>
+<span class="sourceLineNo">757</span>   * @param className Class name of the co-processor<a name="line.757"></a>
+<span class="sourceLineNo">758</span>   */<a name="line.758"></a>
+<span class="sourceLineNo">759</span>  public void removeCoprocessor(String className) {<a name="line.759"></a>
+<span class="sourceLineNo">760</span>    getDelegateeForModification().removeCoprocessor(className);<a name="line.760"></a>
+<span class="sourceLineNo">761</span>  }<a name="line.761"></a>
+<span class="sourceLineNo">762</span><a name="line.762"></a>
+<span class="sourceLineNo">763</span>  public final static String NAMESPACE_FAMILY_INFO = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO;<a name="line.763"></a>
+<span class="sourceLineNo">764</span>  public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = TableDescriptorBuilder.NAMESPACE_FAMILY_INFO_BYTES;<a name="line.764"></a>
+<span class="sourceLineNo">765</span>  public final static byte[] NAMESPACE_COL_DESC_BYTES = TableDescriptorBuilder.NAMESPACE_COL_DESC_BYTES;<a name="line.765"></a>
+<span class="sourceLineNo">766</span><a name="line.766"></a>
+<span class="sourceLineNo">767</span>  /** Table descriptor for namespace table */<a name="line.767"></a>
+<span class="sourceLineNo">768</span>  public static final HTableDescriptor NAMESPACE_TABLEDESC<a name="line.768"></a>
+<span class="sourceLineNo">769</span>    = new HTableDescriptor(TableDescriptorBuilder.NAMESPACE_TABLEDESC);<a name="line.769"></a>
+<span class="sourceLineNo">770</span><a name="line.770"></a>
+<span class="sourceLineNo">771</span>  @Deprecated<a name="line.771"></a>
+<span class="sourceLineNo">772</span>  public HTableDescriptor setOwner(User owner) {<a name="line.772"></a>
+<span class="sourceLineNo">773</span>    getDelegateeForModification().setOwner(owner);<a name="line.773"></a>
+<span class="sourceLineNo">774</span>    return this;<a name="line.774"></a>
+<span class="sourceLineNo">775</span>  }<a name="line.775"></a>
+<span class="sourceLineNo">776</span><a name="line.776"></a>
+<span class="sourceLineNo">777</span>  // used by admin.rb:alter(table_name,*args) to update owner.<a name="line.777"></a>
+<span class="sourceLineNo">778</span>  @Deprecated<a name="line.778"></a>
+<span class="sourceLineNo">779</span>  public HTableDescriptor setOwnerString(String ownerString) {<a name="line.779"></a>
+<span class="sourceLineNo">780</span>    getDelegateeForModification().setOwnerString(ownerString);<a name="line.780"></a>
+<span class="sourceLineNo">781</span>    return this;<a name="line.781"></a>
+<span class="sourceLineNo">782</span>  }<a name="line.782"></a>
+<span class="sourceLineNo">783</span><a name="line.783"></a>
+<span class="sourceLineNo">784</span>  @Override<a name="line.784"></a>
+<span class="sourceLineNo">785</span>  @Deprecated<a name="line.785"></a>
+<span class="sourceLineNo">786</span>  public String getOwnerString() {<a name="line.786"></a>
+<span class="sourceLineNo">787</span>    return delegatee.getOwnerString();<a name="line.787"></a>
+<span class="sourceLineNo">788</span>  }<a name="line.788"></a>
+<span class="sourceLineNo">789</span><a name="line.789"></a>
+<span class="sourceLineNo">790</span>  /**<a name="line.790"></a>
+<span class="sourceLineNo">791</span>   * @return This instance serialized with pb with pb magic prefix<a name="line.791"></a>
+<span class="sourceLineNo">792</span>   * @see #parseFrom(byte[])<a name="line.792"></a>
+<span class="sourceLineNo">793</span>   */<a name="line.793"></a>
+<span class="sourceLineNo">794</span>  public byte[] toByteArray() {<a name="line.794"></a>
+<span class="sourceLineNo">795</span>    return TableDescriptorBuilder.toByteArray(delegatee);<a name="line.795"></a>
+<span class="sourceLineNo">796</span>  }<a name="line.796"></a>
+<span class="sourceLineNo">797</span><a name="line.797"></a>
+<span class="sourceLineNo">798</span>  /**<a name="line.798"></a>
+<span class="sourceLineNo">799</span>   * @param bytes A pb serialized {@link HTableDescriptor} instance with pb magic prefix<a name="line.799"></a>
+<span class="sourceLineNo">800</span>   * @return An instance of {@link HTableDescriptor} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.800"></a>
+<span class="sourceLineNo">801</span>   * @throws DeserializationException<a name="line.801"></a>
+<span class="sourceLineNo">802</span>   * @throws IOException<a name="line.802"></a>
+<span class="sourceLineNo">803</span>   * @see #toByteArray()<a name="line.803"></a>
+<span class="sourceLineNo">804</span>   */<a name="line.804"></a>
+<span class="sourceLineNo">805</span>  public static HTableDescriptor parseFrom(final byte [] bytes)<a name="line.805"></a>
+<span class="sourceLineNo">806</span>  throws DeserializationException, IOException {<a name="line.806"></a>
+<span class="sourceLineNo">807</span>    TableDescriptor desc = TableDescriptorBuilder.parseFrom(bytes);<a name="line.807"></a>
+<span class="sourceLineNo">808</span>    if (desc instanceof ModifyableTableDescriptor) {<a name="line.808"></a>
+<span class="sourceLineNo">809</span>      return new HTableDescriptor((ModifyableTableDescriptor) desc);<a name="line.809"></a>
+<span class="sourceLineNo">810</span>    } else {<a name="line.810"></a>
+<span class="sourceLineNo">811</span>      return new HTableDescriptor(desc);<a name="line.811"></a>
+<span class="sourceLineNo">812</span>    }<a name="line.812"></a>
+<span class="sourceLineNo">813</span>  }<a name="line.813"></a>
+<span class="sourceLineNo">814</span><a name="line.814"></a>
+<span class="sourceLineNo">815</span>  /**<a name="line.815"></a>
+<span class="sourceLineNo">816</span>   * Getter for accessing the configuration value by key<a name="line.816"></a>
+<span class="sourceLineNo">817</span>   */<a name="line.817"></a>
+<span class="sourceLineNo">818</span>  @Override<a name="line.818"></a>
+<span class="sourceLineNo">819</span>  public String getConfigurationValue(String key) {<a name="line.819"></a>
+<span class="sourceLineNo">820</span>    return delegatee.getConfigurationValue(key);<a name="line.820"></a>
+<span class="sourceLineNo">821</span>  }<a name="line.821"></a>
+<span class="sourceLineNo">822</span><a name="line.822"></a>
+<span class="sourceLineNo">823</span>  /**<a name="line.823"></a>
+<span class="sourceLineNo">824</span>   * Getter for fetching an unmodifiable map.<a name="line.824"></a>
+<span class="sourceLineNo">825</span>   */<a name="line.825"></a>
+<span class="sourceLineNo">826</span>  @Override<a name="line.826"></a>
+<span class="sourceLineNo">827</span>  public Map&lt;String, String&gt; getConfiguration() {<a name="line.827"></a>
+<span class="sourceLineNo">828</span>    return delegatee.getConfiguration();<a name="line.828"></a>
+<span class="sourceLineNo">829</span>  }<a name="line.829"></a>
+<span class="sourceLineNo">830</span><a name="line.830"></a>
+<span class="sourceLineNo">831</span>  /**<a name="line.831"></a>
+<span class="sourceLineNo">832</span>   * Setter for storing a configuration setting in map.<a name="line.832"></a>
+<span class="sourceLineNo">833</span>   * @param key Config key. Same as XML config key e.g. hbase.something.or.other.<a name="line.833"></a>
+<span class="sourceLineNo">834</span>   * @param value String value. If null, removes the setting.<a name="line.834"></a>
+<span class="sourceLineNo">835</span>   */<a name="line.835"></a>
+<span class="sourceLineNo">836</span>  public HTableDescriptor setConfiguration(String key, String value) {<a name="line.836"></a>
+<span class="sourceLineNo">837</span>    getDelegateeForModification().setConfiguration(key, value);<a name="line.837"></a>
+<span class="sourceLineNo">838</span>    return this;<a name="line.838"></a>
+<span class="sourceLineNo">839</span>  }<a name="line.839"></a>
+<span class="sourceLineNo">840</span><a name="line.840"></a>
+<span class="sourceLineNo">841</span>  /**<a name="line.841"></a>
+<span class="sourceLineNo">842</span>   * Remove a config setting represented by the key from the map<a name="line.842"></a>
+<span class="sourceLineNo">843</span>   */<a name="line.843"></a>
+<span class="sourceLineNo">844</span>  public void removeConfiguration(final String key) {<a name="line.844"></a>
+<span class="sourceLineNo">845</span>    getDelegateeForModification().removeConfiguration(key);<a name="line.845"></a>
+<span class="sourceLineNo">846</span>  }<a name="line.846"></a>
+<span class="sourceLineNo">847</span><a name="line.847"></a>
+<span class="sourceLineNo">848</span>  @Override<a name="line.848"></a>
+<span class="sourceLineNo">849</span>  public Bytes getValue(Bytes key) {<a name="line.849"></a>
+<span class="sourceLineNo">850</span>    return delegatee.getValue(key);<a name="line.850"></a>
+<span class="sourceLineNo">851</span>  }<a name="line.851"></a>
+<span class="sourceLineNo">852</span><a name="line.852"></a>
+<span class="sourceLineNo">853</span>  @Override<a name="line.853"></a>
+<span class="sourceLineNo">854</span>  public String getValue(String key) {<a name="line.854"></a>
+<span class="sourceLineNo">855</span>    return delegatee.getValue(key);<a name="line.855"></a>
+<span class="sourceLineNo">856</span>  }<a name="line.856"></a>
+<span class="sourceLineNo">857</span><a name="line.857"></a>
+<span class="sourceLineNo">858</span>  @Override<a name="line.858"></a>
+<span class="sourceLineNo">859</span>  public byte[] getValue(byte[] key) {<a name="line.859"></a>
+<span class="sourceLineNo">860</span>    return delegatee.getValue(key);<a name="line.860"></a>
+<span class="sourceLineNo">861</span>  }<a name="line.861"></a>
+<span class="sourceLineNo">862</span><a name="line.862"></a>
+<span class="sourceLineNo">863</span>  @Override<a name="line.863"></a>
+<span class="sourceLineNo">864</span>  public Set&lt;byte[]&gt; getColumnFamilyNames() {<a name="line.864"></a>
+<span class="sourceLineNo">865</span>    return delegatee.getColumnFamilyNames();<a name="line.865"></a>
+<span class="sourceLineNo">866</span>  }<a name="line.866"></a>
+<span class="sourceLineNo">867</span><a name="line.867"></a>
+<span class="sourceLineNo">868</span>  @Override<a name="line.868"></a>
+<span class="sourceLineNo">869</span>  public boolean hasColumnFamily(byte[] name) {<a name="line.869"></a>
+<span class="sourceLineNo">870</span>    return delegatee.hasColumnFamily(name);<a name="line.870"></a>
+<span class="sourceLineNo">871</span>  }<a name="line.871"></a>
+<span class="sourceLineNo">872</span><a name="line.872"></a>
+<span class="sourceLineNo">873</span>  @Override<a name="line.873"></a>
+<span class="sourceLineNo">874</span>  public ColumnFamilyDescriptor getColumnFamily(byte[] name) {<a name="line.874"></a>
+<span class="sourceLineNo">875</span>    return delegatee.getColumnFamily(name);<a name="line.875"></a>
+<span class="sourceLineNo">876</span>  }<a name="line.876"></a>
+<span class="sourceLineNo">877</span><a name="line.877"></a>
+<span class="sourceLineNo">878</span>  protected ModifyableTableDescriptor getDelegateeForModification() {<a name="line.878"></a>
+<span class="sourceLineNo">879</span>    return delegatee;<a name="line.879"></a>
+<span class="sourceLineNo">880</span>  }<a name="line.880"></a>
+<span class="sourceLineNo">881</span>}<a name="line.881"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/apidocs/src-html/org/apache/hadoop/hbase/ServerName.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/ServerName.html b/apidocs/src-html/org/apache/hadoop/hbase/ServerName.html
index a002d02..abcbce2 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/ServerName.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/ServerName.html
@@ -355,8 +355,8 @@
 <span class="sourceLineNo">347</span>   * @param right<a name="line.347"></a>
 <span class="sourceLineNo">348</span>   * @return True if &lt;code&gt;other&lt;/code&gt; has same hostname and port.<a name="line.348"></a>
 <span class="sourceLineNo">349</span>   */<a name="line.349"></a>
-<span class="sourceLineNo">350</span>  public static boolean isSameHostnameAndPort(final ServerName left,<a name="line.350"></a>
-<span class="sourceLineNo">351</span>      final ServerName right) {<a name="line.351"></a>
+<span class="sourceLineNo">350</span>  public static boolean isSameAddress(final ServerName left,<a name="line.350"></a>
+<span class="sourceLineNo">351</span>                                      final ServerName right) {<a name="line.351"></a>
 <span class="sourceLineNo">352</span>    // TODO: Make this left.getAddress().equals(right.getAddress())<a name="line.352"></a>
 <span class="sourceLineNo">353</span>    if (left == null) return false;<a name="line.353"></a>
 <span class="sourceLineNo">354</span>    if (right == null) return false;<a name="line.354"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutator.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutator.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutator.html
new file mode 100644
index 0000000..ff3a6fa
--- /dev/null
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncBufferedMutator.html
@@ -0,0 +1,156 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *     http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.client;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.io.Closeable;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.util.List;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.util.concurrent.CompletableFuture;<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.hadoop.conf.Configuration;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.TableName;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * Used to communicate with a single HBase table in batches. Obtain an instance from a<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * {@link AsyncConnection} and call {@link #close()} afterwards.<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * &lt;p&gt;<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * The implementation is required to be thread safe.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>@InterfaceAudience.Public<a name="line.34"></a>
+<span class="sourceLineNo">035</span>public interface AsyncBufferedMutator extends Closeable {<a name="line.35"></a>
+<span class="sourceLineNo">036</span><a name="line.36"></a>
+<span class="sourceLineNo">037</span>  /**<a name="line.37"></a>
+<span class="sourceLineNo">038</span>   * Gets the fully qualified table name instance of the table that this<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   * {@code AsyncBufferedMutator} writes to.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>   */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>  TableName getName();<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span>  /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span>   * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance.<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   * &lt;p&gt;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   * The reference returned is not a copy, so any change made to it will affect this instance.<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>  Configuration getConfiguration();<a name="line.48"></a>
+<span class="sourceLineNo">049</span><a name="line.49"></a>
+<span class="sourceLineNo">050</span>  /**<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   * Sends a {@link Mutation} to the table. The mutations will be buffered and sent over the wire as<a name="line.51"></a>
+<span class="sourceLineNo">052</span>   * part of a batch. Currently only supports {@link Put} and {@link Delete} mutations.<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   * @param mutation The data to send.<a name="line.53"></a>
+<span class="sourceLineNo">054</span>   */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>  CompletableFuture&lt;Void&gt; mutate(Mutation mutation);<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span>  /**<a name="line.57"></a>
+<span class="sourceLineNo">058</span>   * Send some {@link Mutation}s to the table. The mutations will be buffered and sent over the wire<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   * as part of a batch. There is no guarantee of sending entire content of {@code mutations} in a<a name="line.59"></a>
+<span class="sourceLineNo">060</span>   * single batch, the implementations are free to break it up according to the write buffer<a name="line.60"></a>
+<span class="sourceLineNo">061</span>   * capacity.<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   * @param mutations The data to send.<a name="line.62"></a>
+<span class="sourceLineNo">063</span>   */<a name="line.63"></a>
+<span class="sourceLineNo">064</span>  List&lt;CompletableFuture&lt;Void&gt;&gt; mutate(List&lt;? extends Mutation&gt; mutations);<a name="line.64"></a>
+<span class="sourceLineNo">065</span><a name="line.65"></a>
+<span class="sourceLineNo">066</span>  /**<a name="line.66"></a>
+<span class="sourceLineNo">067</span>   * Executes all the buffered, asynchronous operations.<a name="line.67"></a>
+<span class="sourceLineNo">068</span>   */<a name="line.68"></a>
+<span class="sourceLineNo">069</span>  void flush();<a name="line.69"></a>
+<span class="sourceLineNo">070</span><a name="line.70"></a>
+<span class="sourceLineNo">071</span>  /**<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   * Performs a {@link #flush()} and releases any resources held.<a name="line.72"></a>
+<span class="sourceLineNo">073</span>   */<a name="line.73"></a>
+<span class="sourceLineNo">074</span>  @Override<a name="line.74"></a>
+<span class="sourceLineNo">075</span>  void close();<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>  /**<a name="line.77"></a>
+<span class="sourceLineNo">078</span>   * Returns the maximum size in bytes of the write buffer.<a name="line.78"></a>
+<span class="sourceLineNo">079</span>   * &lt;p&gt;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>   * The default value comes from the configuration parameter {@code hbase.client.write.buffer}.<a name="line.80"></a>
+<span class="sourceLineNo">081</span>   * @return The size of the write buffer in bytes.<a name="line.81"></a>
+<span class="sourceLineNo">082</span>   */<a name="line.82"></a>
+<span class="sourceLineNo">083</span>  long getWriteBufferSize();<a name="line.83"></a>
+<span class="sourceLineNo">084</span>}<a name="line.84"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>


Mime
View raw message