org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter Java Examples
The following examples show how to use
org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TransformBaseRunner.java From BigDataPlatform with GNU General Public License v3.0 | 5 votes |
protected Filter getColumnFilter(String[] columns) { int length = columns.length; byte[][] filter = new byte[length][]; for (int i = 0; i < length; i++) { filter[i] = Bytes.toBytes(columns[i]); } return new MultipleColumnPrefixFilter(filter); }
Example #2
Source File: ActiveUserRunner.java From BigDataArchitect with Apache License 2.0 | 5 votes |
/** * 获取这个列名过滤的column * * @param columns * @return */ private Filter getColumnFilter(String[] columns) { int length = columns.length; byte[][] filter = new byte[length][]; for (int i = 0; i < length; i++) { filter[i] = Bytes.toBytes(columns[i]); } return new MultipleColumnPrefixFilter(filter); }
Example #3
Source File: NewInstallUserRunner.java From BigDataArchitect with Apache License 2.0 | 5 votes |
/** * 获取这个列名过滤的column * * @param columns * @return */ private Filter getColumnFilter(String[] columns) { int length = columns.length; byte[][] filter = new byte[length][]; for (int i = 0; i < length; i++) { filter[i] = Bytes.toBytes(columns[i]); } return new MultipleColumnPrefixFilter(filter); }
Example #4
Source File: TransformerBaseRunner.java From BigDataArchitect with Apache License 2.0 | 5 votes |
/** * 获取这个列名过滤的column * * @param columns * @return */ protected Filter getColumnFilter(String[] columns) { int length = columns.length; byte[][] filter = new byte[length][]; for (int i = 0; i < length; i++) { filter[i] = Bytes.toBytes(columns[i]); } return new MultipleColumnPrefixFilter(filter); }