hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [11/52] [partial] hbase-site git commit: Published site at 1cfd22bf43c9b64afae35d9bf16f764d0da80cab.
Date Tue, 21 Mar 2017 16:36:07 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/22cff34f/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html
index 73df1db..14e7609 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html
@@ -479,7 +479,7 @@
 <span class="sourceLineNo">471</span>  }<a name="line.471"></a>
 <span class="sourceLineNo">472</span><a name="line.472"></a>
 <span class="sourceLineNo">473</span>  private static ArrayList&lt;byte[]&gt;
toQuotedByteArrays(String... stringArgs) {<a name="line.473"></a>
-<span class="sourceLineNo">474</span>    ArrayList&lt;byte[]&gt; quotedArgs
= new ArrayList&lt;byte[]&gt;();<a name="line.474"></a>
+<span class="sourceLineNo">474</span>    ArrayList&lt;byte[]&gt; quotedArgs
= new ArrayList&lt;&gt;();<a name="line.474"></a>
 <span class="sourceLineNo">475</span>    for (String stringArg : stringArgs)
{<a name="line.475"></a>
 <span class="sourceLineNo">476</span>      // all the filters' instantiation
methods expected quoted args since they are coming from<a name="line.476"></a>
 <span class="sourceLineNo">477</span>      // the shell, so add them here, though
it shouldn't really be needed :-/<a name="line.477"></a>
@@ -544,7 +544,7 @@
 <span class="sourceLineNo">536</span>      String[] allMappings = allMappingsPropVal.split(",");<a
name="line.536"></a>
 <span class="sourceLineNo">537</span>      for (String mapping: allMappings)
{<a name="line.537"></a>
 <span class="sourceLineNo">538</span>        if(cfRenameMap == null) {<a name="line.538"></a>
-<span class="sourceLineNo">539</span>            cfRenameMap = new TreeMap&lt;byte[],byte[]&gt;(Bytes.BYTES_COMPARATOR);<a
name="line.539"></a>
+<span class="sourceLineNo">539</span>            cfRenameMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a
name="line.539"></a>
 <span class="sourceLineNo">540</span>        }<a name="line.540"></a>
 <span class="sourceLineNo">541</span>        String [] srcAndDest = mapping.split(":");<a
name="line.541"></a>
 <span class="sourceLineNo">542</span>        if(srcAndDest.length != 2) {<a
name="line.542"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/22cff34f/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ImportTsv.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ImportTsv.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ImportTsv.html
index 22656ce..69b099e 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ImportTsv.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/ImportTsv.html
@@ -257,7 +257,7 @@
 <span class="sourceLineNo">249</span>    public ParsedLine parse(byte[] lineBytes,
int length)<a name="line.249"></a>
 <span class="sourceLineNo">250</span>    throws BadTsvLineException {<a name="line.250"></a>
 <span class="sourceLineNo">251</span>      // Enumerate separator offsets<a
name="line.251"></a>
-<span class="sourceLineNo">252</span>      ArrayList&lt;Integer&gt; tabOffsets
= new ArrayList&lt;Integer&gt;(maxColumnCount);<a name="line.252"></a>
+<span class="sourceLineNo">252</span>      ArrayList&lt;Integer&gt; tabOffsets
= new ArrayList&lt;&gt;(maxColumnCount);<a name="line.252"></a>
 <span class="sourceLineNo">253</span>      for (int i = 0; i &lt; length;
i++) {<a name="line.253"></a>
 <span class="sourceLineNo">254</span>        if (lineBytes[i] == separatorByte)
{<a name="line.254"></a>
 <span class="sourceLineNo">255</span>          tabOffsets.add(i);<a name="line.255"></a>
@@ -456,7 +456,7 @@
 <span class="sourceLineNo">448</span>                  + " are less than row
key position.");<a name="line.448"></a>
 <span class="sourceLineNo">449</span>        }<a name="line.449"></a>
 <span class="sourceLineNo">450</span>      }<a name="line.450"></a>
-<span class="sourceLineNo">451</span>      return new Pair&lt;Integer, Integer&gt;(startPos,
endPos - startPos + 1);<a name="line.451"></a>
+<span class="sourceLineNo">451</span>      return new Pair&lt;&gt;(startPos,
endPos - startPos + 1);<a name="line.451"></a>
 <span class="sourceLineNo">452</span>    }<a name="line.452"></a>
 <span class="sourceLineNo">453</span>  }<a name="line.453"></a>
 <span class="sourceLineNo">454</span><a name="line.454"></a>
@@ -529,7 +529,7 @@
 <span class="sourceLineNo">521</span>            boolean noStrict = conf.getBoolean(NO_STRICT_COL_FAMILY,
false);<a name="line.521"></a>
 <span class="sourceLineNo">522</span>            // if no.strict is false then
check column family<a name="line.522"></a>
 <span class="sourceLineNo">523</span>            if(!noStrict) {<a name="line.523"></a>
-<span class="sourceLineNo">524</span>              ArrayList&lt;String&gt;
unmatchedFamilies = new ArrayList&lt;String&gt;();<a name="line.524"></a>
+<span class="sourceLineNo">524</span>              ArrayList&lt;String&gt;
unmatchedFamilies = new ArrayList&lt;&gt;();<a name="line.524"></a>
 <span class="sourceLineNo">525</span>              Set&lt;String&gt;
cfSet = getColumnFamilies(columns);<a name="line.525"></a>
 <span class="sourceLineNo">526</span>              HTableDescriptor tDesc = table.getTableDescriptor();<a
name="line.526"></a>
 <span class="sourceLineNo">527</span>              for (String cf : cfSet) {<a
name="line.527"></a>
@@ -538,7 +538,7 @@
 <span class="sourceLineNo">530</span>                }<a name="line.530"></a>
 <span class="sourceLineNo">531</span>              }<a name="line.531"></a>
 <span class="sourceLineNo">532</span>              if(unmatchedFamilies.size()
&gt; 0) {<a name="line.532"></a>
-<span class="sourceLineNo">533</span>                ArrayList&lt;String&gt;
familyNames = new ArrayList&lt;String&gt;();<a name="line.533"></a>
+<span class="sourceLineNo">533</span>                ArrayList&lt;String&gt;
familyNames = new ArrayList&lt;&gt;();<a name="line.533"></a>
 <span class="sourceLineNo">534</span>                for (HColumnDescriptor family
: table.getTableDescriptor().getFamilies()) {<a name="line.534"></a>
 <span class="sourceLineNo">535</span>                  familyNames.add(family.getNameAsString());<a
name="line.535"></a>
 <span class="sourceLineNo">536</span>                }<a name="line.536"></a>
@@ -634,7 +634,7 @@
 <span class="sourceLineNo">626</span>  }<a name="line.626"></a>
 <span class="sourceLineNo">627</span><a name="line.627"></a>
 <span class="sourceLineNo">628</span>  private static Set&lt;String&gt;
getColumnFamilies(String[] columns) {<a name="line.628"></a>
-<span class="sourceLineNo">629</span>    Set&lt;String&gt; cfSet = new
HashSet&lt;String&gt;();<a name="line.629"></a>
+<span class="sourceLineNo">629</span>    Set&lt;String&gt; cfSet = new
HashSet&lt;&gt;();<a name="line.629"></a>
 <span class="sourceLineNo">630</span>    for (String aColumn : columns) {<a
name="line.630"></a>
 <span class="sourceLineNo">631</span>      if (TsvParser.ROWKEY_COLUMN_SPEC.equals(aColumn)<a
name="line.631"></a>
 <span class="sourceLineNo">632</span>          || TsvParser.TIMESTAMPKEY_COLUMN_SPEC.equals(aColumn)<a
name="line.632"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/22cff34f/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.html
index 807f600..560a84d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.html
@@ -48,7 +48,7 @@
 <span class="sourceLineNo">040</span>  protected void reduce(ImmutableBytesWritable
row, java.lang.Iterable&lt;KeyValue&gt; kvs,<a name="line.40"></a>
 <span class="sourceLineNo">041</span>      org.apache.hadoop.mapreduce.Reducer&lt;ImmutableBytesWritable,
KeyValue, ImmutableBytesWritable, KeyValue&gt;.Context context)<a name="line.41"></a>
 <span class="sourceLineNo">042</span>  throws java.io.IOException, InterruptedException
{<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    TreeSet&lt;KeyValue&gt; map
= new TreeSet&lt;KeyValue&gt;(CellComparator.COMPARATOR);<a name="line.43"></a>
+<span class="sourceLineNo">043</span>    TreeSet&lt;KeyValue&gt; map
= new TreeSet&lt;&gt;(CellComparator.COMPARATOR);<a name="line.43"></a>
 <span class="sourceLineNo">044</span>    for (KeyValue kv: kvs) {<a name="line.44"></a>
 <span class="sourceLineNo">045</span>      try {<a name="line.45"></a>
 <span class="sourceLineNo">046</span>        map.add(kv.clone());<a name="line.46"></a>


Mime
View raw message