code stringlengths 227 324k | indentifier stringlengths 171 323k | lang stringclasses 2
values |
|---|---|---|
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
/* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | /* * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa... | java |
2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * ... | 2018, 2022, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * ... | java |
its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed i... | its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed i... | java |
reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be ... | reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be ... | java |
ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT... | ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT... | java |
NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without e... | NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without e... | java |
HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warra... | HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warra... | java |
code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTAB... | code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTAB... | java |
you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR ... | you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR ... | java |
and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. Se... | and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. Se... | java |
under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General P... | under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General P... | java |
the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * ver... | the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * ver... | java |
License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details... | License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details... | java |
as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in ... | as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in ... | java |
Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that ... | Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that ... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.cli... | java |
import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache... | import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache... | java |
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.filter.Filt... | import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.filter.Filt... | java |
org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.filter.FilterList; import org.apache.hadoop.hbase.util.Bytes; i... | org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.filter.FilterList; import org.apache.hadoop.hbase.util.Bytes; i... | java |
org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.filter.FilterList; import org.apache.hadoop.hbase.util.Bytes; import java.io.IOException; import java.util.List; p... | org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.filter.FilterList; import org.apache.hadoop.hbase.util.Bytes; import java.io.IOException; import java.util.List; p... | java |
/** * 创建HBase表 * * @param tableName 表名 * @param columnFamilies 列族的数组 */ public static boolean createTable( <mask> <mask> <mask> tableName, List< <mask> <mask> <mask> > columnFamilies) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); if (admin.tableExists(tableName)) { return false; } HTableDescriptor tabl... | /** * 创建HBase表 * * @param tableName 表名 * @param columnFamilies 列族的数组 */ public static boolean createTable( String tableName, List< String > columnFamilies) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); if (admin.tableExists(tableName)) { return false; } HTableDescriptor tableDescriptor = new HTableDesc... | java |
创建HBase表 * * @param tableName 表名 * @param columnFamilies 列族的数组 */ public static boolean createTable( <mask> <mask> <mask> tableName, List< <mask> <mask> <mask> > columnFamilies) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); if (admin.tableExists(tableName)) { return false; } HTableDescriptor tableDescr... | 创建HBase表 * * @param tableName 表名 * @param columnFamilies 列族的数组 */ public static boolean createTable( String tableName, List< String > columnFamilies) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); if (admin.tableExists(tableName)) { return false; } HTableDescriptor tableDescriptor = new HTableDescriptor... | java |
tableDescriptor.addFamily(columnDescriptor); }); admin.createTable(tableDescriptor); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( <mask> <mask> <mask> tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin();... | tableDescriptor.addFamily(columnDescriptor); }); admin.createTable(tableDescriptor); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( String tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表... | java |
admin.createTable(tableDescriptor); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( <mask> <mask> <mask> tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); adm... | admin.createTable(tableDescriptor); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( String tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); admin.deleteTable... | java |
catch (IOException e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( <mask> <mask> <mask> tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Ex... | catch (IOException e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( String tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Exception e) { e... | java |
e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( <mask> <mask> <mask> tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Exception e) { e.prin... | e) { e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( String tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Exception e) { e.printStackTrace();... | java |
e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( <mask> <mask> <mask> tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Exception e) { e.printStac... | e.printStackTrace(); } return true; } /** * 删除hBase表 * * @param tableName 表名 */ public static boolean deleteTable( String tableName) { try { HBaseAdmin admin = (HBaseAdmin) connection.getAdmin(); // 删除表前需要先禁用表 admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Exception e) { e.printStackTrace(); } re... | java |
admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Exception e) { e.printStackTrace(); } return true; } /** * 插入数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamilyName 列族名 * @param qualifier 列标识 * @param value 数据 */ public static boolean putRow( <mask> <mask> <mask> tableName, <mask... | admin.disableTable(tableName); admin.deleteTable(tableName); } catch (Exception e) { e.printStackTrace(); } return true; } /** * 插入数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamilyName 列族名 * @param qualifier 列标识 * @param value 数据 */ public static boolean putRow( String tableName, String rowKey, Stri... | java |
列标识 * @param value 数据 */ public static boolean putRow( <mask> <mask> <mask> tableName, <mask> <mask> <mask> rowKey, <mask> <mask> <mask> columnFamilyName, <mask> <mask> <mask> qualifier, <mask> <mask> <mask> value) { try { Table table = connection.getTable(TableName.valueOf(tableName)); Put put = new Put(Bytes.toBytes(... | 列标识 * @param value 数据 */ public static boolean putRow( String tableName, String rowKey, String columnFamilyName, String qualifier, String value) { try { Table table = connection.getTable(TableName.valueOf(tableName)); Put put = new Put(Bytes.toBytes(rowKey)); put.addColumn(Bytes.toBytes(columnFamilyName), Bytes.toBytes... | java |
} return true; } /** * 插入数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamilyName 列族名 * @param pairList 列标识和值的集合 */ public static boolean putRow( <mask> <mask> <mask> tableName, <mask> <mask> <mask> rowKey, <mask> <mask> <mask> columnFamilyName, List<Pair< <mask> <mask> <mask> , <mask> <mask> <mask> >>... | } return true; } /** * 插入数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamilyName 列族名 * @param pairList 列标识和值的集合 */ public static boolean putRow( String tableName, String rowKey, String columnFamilyName, List<Pair< String , String >> pairList) { try { Table table = connection.getTable(TableName.valueOf... | java |
-> put.addColumn(Bytes.toBytes(columnFamilyName), Bytes.toBytes(pair.getKey()), Bytes.toBytes(pair.getValue()))); table.put(put); table.close(); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 根据rowKey获取指定行的数据 * * @param tableName 表名 * @param rowKey 唯一标识 */ public static Result getRow( <mask> <mas... | -> put.addColumn(Bytes.toBytes(columnFamilyName), Bytes.toBytes(pair.getKey()), Bytes.toBytes(pair.getValue()))); table.put(put); table.close(); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 根据rowKey获取指定行的数据 * * @param tableName 表名 * @param rowKey 唯一标识 */ public static Result getRow( String tabl... | java |
Bytes.toBytes(pair.getKey()), Bytes.toBytes(pair.getValue()))); table.put(put); table.close(); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 根据rowKey获取指定行的数据 * * @param tableName 表名 * @param rowKey 唯一标识 */ public static Result getRow( <mask> <mask> <mask> tableName, <mask> <mask> <mask> rowKey) ... | Bytes.toBytes(pair.getKey()), Bytes.toBytes(pair.getValue()))); table.put(put); table.close(); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 根据rowKey获取指定行的数据 * * @param tableName 表名 * @param rowKey 唯一标识 */ public static Result getRow( String tableName, String rowKey) { try { Table table = connec... | java |
table.put(put); table.close(); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 根据rowKey获取指定行的数据 * * @param tableName 表名 * @param rowKey 唯一标识 */ public static Result getRow( <mask> <mask> <mask> tableName, <mask> <mask> <mask> rowKey) { try { Table table = connection.getTable(TableName.valueOf(tabl... | table.put(put); table.close(); } catch (IOException e) { e.printStackTrace(); } return true; } /** * 根据rowKey获取指定行的数据 * * @param tableName 表名 * @param rowKey 唯一标识 */ public static Result getRow( String tableName, String rowKey) { try { Table table = connection.getTable(TableName.valueOf(tableName)); Get get = new Get(B... | java |
catch (IOException e) { e.printStackTrace(); } return null; } /** * 获取指定行指定列(cell)的最新版本的数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamily 列族 * @param qualifier 列标识 */ public static <mask> <mask> <mask> getCell( <mask> <mask> <mask> tableName, <mask> <mask> <mask> rowKey, <mask> <mask> <mask> columnF... | catch (IOException e) { e.printStackTrace(); } return null; } /** * 获取指定行指定列(cell)的最新版本的数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamily 列族 * @param qualifier 列标识 */ public static String getCell( String tableName, String rowKey, String columnFamily, String qualifier) { try { Table table = connectio... | java |
e) { e.printStackTrace(); } return null; } /** * 获取指定行指定列(cell)的最新版本的数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamily 列族 * @param qualifier 列标识 */ public static <mask> <mask> <mask> getCell( <mask> <mask> <mask> tableName, <mask> <mask> <mask> rowKey, <mask> <mask> <mask> columnFamily, <mask> <mask... | e) { e.printStackTrace(); } return null; } /** * 获取指定行指定列(cell)的最新版本的数据 * * @param tableName 表名 * @param rowKey 唯一标识 * @param columnFamily 列族 * @param qualifier 列标识 */ public static String getCell( String tableName, String rowKey, String columnFamily, String qualifier) { try { Table table = connection.getTable(TableNam... | java |
new Get(Bytes.toBytes(rowKey)); if (!get.isCheckExistenceOnly()) { get.addColumn(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to <mask> <mask> <mask> (resultValue); } else... | new Get(Bytes.toBytes(rowKey)); if (!get.isCheckExistenceOnly()) { get.addColumn(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to String (resultValue); } else { return null... | java |
if (!get.isCheckExistenceOnly()) { get.addColumn(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to <mask> <mask> <mask> (resultValue); } else { return null; } } catch (IOExc... | if (!get.isCheckExistenceOnly()) { get.addColumn(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to String (resultValue); } else { return null; } } catch (IOException e) { e.... | java |
{ get.addColumn(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to <mask> <mask> <mask> (resultValue); } else { return null; } } catch (IOException e) { e.printStackTrace(); ... | { get.addColumn(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to String (resultValue); } else { return null; } } catch (IOException e) { e.printStackTrace(); } return null;... | java |
Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to <mask> <mask> <mask> (resultValue); } else { return null; } } catch (IOException e) { e.printStackTrace(); } return null; } /** * 检索全表 * * @param tableN... | Bytes.toBytes(qualifier)); Result result = table.get(get); byte[] resultValue = result.getValue(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier)); return Bytes.to String (resultValue); } else { return null; } } catch (IOException e) { e.printStackTrace(); } return null; } /** * 检索全表 * * @param tableName 表名 */ publ... | java |
the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language... | the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language... | java |
or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; imp... | or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; imp... | java |
* distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.pre... | * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.pre... | java |
distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.fa... | distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.fa... | java |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.facebook.presto.common.predicate.Tu... | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.facebook.presto.common.predicate.Tu... | java |
ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.facebook.presto.common.predicate.TupleDomain; import com.facebook.presto.... | ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.facebook.presto.common.predicate.TupleDomain; import com.facebook.presto.... | java |
* See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.facebook.presto.common.predicate.TupleDomain; import com.facebook.presto.spi.ColumnHandle; import com.facebook... | * See the License for the specific language governing permissions and * limitations under the License. */ package com.facebook.presto.tpch; import com.facebook.presto.common.predicate.NullableValue; import com.facebook.presto.common.predicate.TupleDomain; import com.facebook.presto.spi.ColumnHandle; import com.facebook... | java |
import com.facebook.presto.spi.statistics.Estimate; import com.facebook.presto.spi.statistics.TableStatistics; import com.facebook.presto.tpch.util.PredicateUtils; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import io.airlif... | import com.facebook.presto.spi.statistics.Estimate; import com.facebook.presto.spi.statistics.TableStatistics; import com.facebook.presto.tpch.util.PredicateUtils; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import io.airlif... | java |
import java.util.EnumSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Stream; import static com.facebook.presto.spi.Constraint.alwaysFalse; import static com.facebook.presto.spi.Constraint.alwaysTrue; impo... | import java.util.EnumSet; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Stream; import static com.facebook.presto.spi.Constraint.alwaysFalse; import static com.facebook.presto.spi.Constraint.alwaysTrue; impo... | java |
import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Stream; import static com.facebook.presto.spi.Constraint.alwaysFalse; import static com.facebook.presto.spi.Constraint.alwaysTrue; import static com.facebook.presto.tpch.TpchMetadata.getPrestoType; import static com.facebook.presto.... | import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Stream; import static com.facebook.presto.spi.Constraint.alwaysFalse; import static com.facebook.presto.spi.Constraint.alwaysTrue; import static com.facebook.presto.tpch.TpchMetadata.getPrestoType; import static com.facebook.presto.... | java |
com.facebook.presto.spi.Constraint.alwaysTrue; import static com.facebook.presto.tpch.TpchMetadata.getPrestoType; import static com.facebook.presto.tpch.util.PredicateUtils.filterOutColumnFromPredicate; import static com.google.common.collect.Iterables.getOnlyElement; import static io.airlift.slice.Slices.utf8Slice; im... | com.facebook.presto.spi.Constraint.alwaysTrue; import static com.facebook.presto.tpch.TpchMetadata.getPrestoType; import static com.facebook.presto.tpch.util.PredicateUtils.filterOutColumnFromPredicate; import static com.google.common.collect.Iterables.getOnlyElement; import static io.airlift.slice.Slices.utf8Slice; im... | java |
import static io.airlift.slice.Slices.utf8Slice; import static io.airlift.tpch.CustomerColumn.MARKET_SEGMENT; import static io.airlift.tpch.CustomerColumn.NAME; import static io.airlift.tpch.LineItemColumn.LINE_NUMBER; import static io.airlift.tpch.NationColumn.NATION_KEY; import static io.airlift.tpch.OrderColumn.CLER... | import static io.airlift.slice.Slices.utf8Slice; import static io.airlift.tpch.CustomerColumn.MARKET_SEGMENT; import static io.airlift.tpch.CustomerColumn.NAME; import static io.airlift.tpch.LineItemColumn.LINE_NUMBER; import static io.airlift.tpch.NationColumn.NATION_KEY; import static io.airlift.tpch.OrderColumn.CLER... | java |
tpchMetadata = new TpchMetadata("tpch"); private final ConnectorSession session = null; @Test public void testTableStats() { SUPPORTED_SCHEMAS.forEach(schema -> { double <mask> <mask> <mask> <mask> = TpchMetadata.schemaNameToScaleFactor(schema); testTableStats(schema, REGION, 5); testTableStats(schema, NATION, 25); tes... | tpchMetadata = new TpchMetadata("tpch"); private final ConnectorSession session = null; @Test public void testTableStats() { SUPPORTED_SCHEMAS.forEach(schema -> { double scaleFactor = TpchMetadata.schemaNameToScaleFactor(schema); testTableStats(schema, REGION, 5); testTableStats(schema, NATION, 25); testTableStats(sche... | java |
testTableStats(schema, CUSTOMER, 150_000 * <mask> <mask> <mask> <mask> ); testTableStats(schema, PART, 200_000 * <mask> <mask> <mask> <mask> ); testTableStats(schema, PART_SUPPLIER, 800_000 * <mask> <mask> <mask> <mask> ); testTableStats(schema, ORDERS, 1_500_000 * <mask> <mask> <mask> <mask> ); testTableStats(schema, ... | testTableStats(schema, CUSTOMER, 150_000 * scaleFactor ); testTableStats(schema, PART, 200_000 * scaleFactor ); testTableStats(schema, PART_SUPPLIER, 800_000 * scaleFactor ); testTableStats(schema, ORDERS, 1_500_000 * scaleFactor ); testTableStats(schema, LINE_ITEM, 6_000_000 * scaleFactor ); }); } @Test public void te... | java |
); testTableStats(schema, PART, 200_000 * <mask> <mask> <mask> <mask> ); testTableStats(schema, PART_SUPPLIER, 800_000 * <mask> <mask> <mask> <mask> ); testTableStats(schema, ORDERS, 1_500_000 * <mask> <mask> <mask> <mask> ); testTableStats(schema, LINE_ITEM, 6_000_000 * <mask> <mask> <mask> <mask> ); }); } @Test publi... | ); testTableStats(schema, PART, 200_000 * scaleFactor ); testTableStats(schema, PART_SUPPLIER, 800_000 * scaleFactor ); testTableStats(schema, ORDERS, 1_500_000 * scaleFactor ); testTableStats(schema, LINE_ITEM, 6_000_000 * scaleFactor ); }); } @Test public void testNoTableStats() { Stream.of("sf10").forEach(schema -> ... | java |
testNoTableStats(schema, REGION); testNoTableStats(schema, NATION); testNoTableStats(schema, SUPPLIER); testNoTableStats(schema, CUSTOMER); testNoTableStats(schema, PART); testNoTableStats(schema, PART_SUPPLIER); testNoTableStats(schema, ORDERS); testNoTableStats(schema, LINE_ITEM); }); } @Test public void testTableSta... | testNoTableStats(schema, REGION); testNoTableStats(schema, NATION); testNoTableStats(schema, SUPPLIER); testNoTableStats(schema, CUSTOMER); testNoTableStats(schema, PART); testNoTableStats(schema, PART_SUPPLIER); testNoTableStats(schema, ORDERS); testNoTableStats(schema, LINE_ITEM); }); } @Test public void testTableSta... | java |
public void testTableStatsWithConstraints() { SUPPORTED_SCHEMAS.forEach(schema -> { double <mask> <mask> <mask> <mask> = TpchMetadata.schemaNameToScaleFactor(schema); testTableStats(schema, ORDERS, alwaysFalse(), 0); testTableStats(schema, ORDERS, constraint(ORDER_STATUS, "NO SUCH STATUS"), 0); testTableStats(schema, O... | public void testTableStatsWithConstraints() { SUPPORTED_SCHEMAS.forEach(schema -> { double scaleFactor = TpchMetadata.schemaNameToScaleFactor(schema); testTableStats(schema, ORDERS, alwaysFalse(), 0); testTableStats(schema, ORDERS, constraint(ORDER_STATUS, "NO SUCH STATUS"), 0); testTableStats(schema, ORDERS, constrain... | java |
730_400 * <mask> <mask> <mask> <mask> ); testTableStats(schema, ORDERS, constraint(ORDER_STATUS, "O"), 733_300 * <mask> <mask> <mask> <mask> ); testTableStats(schema, ORDERS, constraint(ORDER_STATUS, "F", "NO SUCH STATUS"), 730_400 * <mask> <mask> <mask> <mask> ); testTableStats(schema, ORDERS, constraint(ORDER_STATUS,... | 730_400 * scaleFactor ); testTableStats(schema, ORDERS, constraint(ORDER_STATUS, "O"), 733_300 * scaleFactor ); testTableStats(schema, ORDERS, constraint(ORDER_STATUS, "F", "NO SUCH STATUS"), 730_400 * scaleFactor ); testTableStats(schema, ORDERS, constraint(ORDER_STATUS, "F", "O", "P"), 1_500_000 * scaleFactor ); }); ... | java |
table, Constraint<ColumnHandle> constraint, double expectedRowCount) { TpchTableHandle tableHandle = tpchMetadata.getTableHandle(session, new SchemaTableName(schema, table.getTableName())); List<ColumnHandle> columnHandles = ImmutableList.copyOf(tpchMetadata.getColumnHandles(session, tableHandle).values()); TableStatis... | table, Constraint<ColumnHandle> constraint, double expectedRowCount) { TpchTableHandle tableHandle = tpchMetadata.getTableHandle(session, new SchemaTableName(schema, table.getTableName())); List<ColumnHandle> columnHandles = ImmutableList.copyOf(tpchMetadata.getColumnHandles(session, tableHandle).values()); TableStatis... | java |
new SchemaTableName(schema, table.getTableName())); List<ColumnHandle> columnHandles = ImmutableList.copyOf(tpchMetadata.getColumnHandles(session, tableHandle).values()); TableStatistics tableStatistics = tpchMetadata.getTableStatistics(session, tableHandle, Optional.empty(), columnHandles, constraint); double actualRo... | new SchemaTableName(schema, table.getTableName())); List<ColumnHandle> columnHandles = ImmutableList.copyOf(tpchMetadata.getColumnHandles(session, tableHandle).values()); TableStatistics tableStatistics = tpchMetadata.getTableStatistics(session, tableHandle, Optional.empty(), columnHandles, constraint); double actualRo... | java |
= tpchMetadata.getTableStatistics(session, tableHandle, Optional.empty(), columnHandles, constraint); double actualRowCountValue = tableStatistics.getRowCount().getValue(); assertEquals(tableStatistics.getRowCount(), Estimate.of(actualRowCountValue)); assertEquals(actualRowCountValue, expectedRowCount, expectedRowCount... | = tpchMetadata.getTableStatistics(session, tableHandle, Optional.empty(), columnHandles, constraint); double actualRowCountValue = tableStatistics.getRowCount().getValue(); assertEquals(tableStatistics.getRowCount(), Estimate.of(actualRowCountValue)); assertEquals(actualRowCountValue, expectedRowCount, expectedRowCount... | java |
<mask> <mask> <mask> <mask> = TpchMetadata.schemaNameToScaleFactor(schema); //id column testColumnStats(schema, NATION, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to dictionary identifier columns testColumnStats(schema, SUPPLIER, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to scalable identifie... | scaleFactor = TpchMetadata.schemaNameToScaleFactor(schema); //id column testColumnStats(schema, NATION, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to dictionary identifier columns testColumnStats(schema, SUPPLIER, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to scalable identifier column testCol... | java |
testColumnStats(schema, NATION, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to dictionary identifier columns testColumnStats(schema, SUPPLIER, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to scalable identifier column testColumnStats(schema, PART_SUPPLIER, PART_KEY, columnStatistics(200_000 * <ma... | testColumnStats(schema, NATION, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to dictionary identifier columns testColumnStats(schema, SUPPLIER, NATION_KEY, columnStatistics(25, 0, 24)); //foreign key to scalable identifier column testColumnStats(schema, PART_SUPPLIER, PART_KEY, columnStatistics(200_000 * sca... | java |
, 1, 200_000 * <mask> <mask> <mask> <mask> )); //low-valued numeric column testColumnStats(schema, LINE_ITEM, LINE_NUMBER, columnStatistics(7, 1, 7)); //date testColumnStats(schema, ORDERS, ORDER_DATE, columnStatistics(2_400, 8_035, 10_440)); //varchar and double columns if (schema.equals("tiny")) { testColumnStats(sch... | , 1, 200_000 * scaleFactor )); //low-valued numeric column testColumnStats(schema, LINE_ITEM, LINE_NUMBER, columnStatistics(7, 1, 7)); //date testColumnStats(schema, ORDERS, ORDER_DATE, columnStatistics(2_400, 8_035, 10_440)); //varchar and double columns if (schema.equals("tiny")) { testColumnStats(schema, CUSTOMER, M... | java |
)); //low-valued numeric column testColumnStats(schema, LINE_ITEM, LINE_NUMBER, columnStatistics(7, 1, 7)); //date testColumnStats(schema, ORDERS, ORDER_DATE, columnStatistics(2_400, 8_035, 10_440)); //varchar and double columns if (schema.equals("tiny")) { testColumnStats(schema, CUSTOMER, MARKET_SEGMENT, columnStatis... | )); //low-valued numeric column testColumnStats(schema, LINE_ITEM, LINE_NUMBER, columnStatistics(7, 1, 7)); //date testColumnStats(schema, ORDERS, ORDER_DATE, columnStatistics(2_400, 8_035, 10_440)); //varchar and double columns if (schema.equals("tiny")) { testColumnStats(schema, CUSTOMER, MARKET_SEGMENT, columnStatis... | java |
columnStatistics(5, 13465)); testColumnStats(schema, CUSTOMER, NAME, columnStatistics(150_000 * <mask> <mask> <mask> <mask> , 27000)); testColumnStats(schema, PART, RETAIL_PRICE, columnStatistics(1_099, 901, 1900.99)); } else if (schema.equals("sf1")) { testColumnStats(schema, CUSTOMER, NAME, columnStatistics(150_000 *... | columnStatistics(5, 13465)); testColumnStats(schema, CUSTOMER, NAME, columnStatistics(150_000 * scaleFactor , 27000)); testColumnStats(schema, PART, RETAIL_PRICE, columnStatistics(1_099, 901, 1900.99)); } else if (schema.equals("sf1")) { testColumnStats(schema, CUSTOMER, NAME, columnStatistics(150_000 * scaleFactor , 2... | java |
(schema.equals("sf1")) { testColumnStats(schema, CUSTOMER, NAME, columnStatistics(150_000 * <mask> <mask> <mask> <mask> , 2700000)); testColumnStats(schema, PART, RETAIL_PRICE, columnStatistics(20899, 901, 2089.99)); testColumnStats(schema, CUSTOMER, MARKET_SEGMENT, columnStatistics(5, 1349610)); } }); } @Test public v... | (schema.equals("sf1")) { testColumnStats(schema, CUSTOMER, NAME, columnStatistics(150_000 * scaleFactor , 2700000)); testColumnStats(schema, PART, RETAIL_PRICE, columnStatistics(20899, 901, 2089.99)); testColumnStats(schema, CUSTOMER, MARKET_SEGMENT, columnStatistics(5, 1349610)); } }); } @Test public void testColumnSt... | java |
1349610)); } }); } @Test public void testColumnStatsWithConstraints() { SUPPORTED_SCHEMAS.forEach(schema -> { double <mask> <mask> <mask> <mask> = TpchMetadata.schemaNameToScaleFactor(schema); //Single constrained column has only one unique value testColumnStats(schema, ORDERS, ORDER_STATUS, constraint(ORDER_STATUS, "F... | 1349610)); } }); } @Test public void testColumnStatsWithConstraints() { SUPPORTED_SCHEMAS.forEach(schema -> { double scaleFactor = TpchMetadata.schemaNameToScaleFactor(schema); //Single constrained column has only one unique value testColumnStats(schema, ORDERS, ORDER_STATUS, constraint(ORDER_STATUS, "F"), columnStatis... | java |
public void testColumnStatsWithConstraints() { SUPPORTED_SCHEMAS.forEach(schema -> { double <mask> <mask> <mask> <mask> = TpchMetadata.schemaNameToScaleFactor(schema); //Single constrained column has only one unique value testColumnStats(schema, ORDERS, ORDER_STATUS, constraint(ORDER_STATUS, "F"), columnStatistics(1), ... | public void testColumnStatsWithConstraints() { SUPPORTED_SCHEMAS.forEach(schema -> { double scaleFactor = TpchMetadata.schemaNameToScaleFactor(schema); //Single constrained column has only one unique value testColumnStats(schema, ORDERS, ORDER_STATUS, constraint(ORDER_STATUS, "F"), columnStatistics(1), EnumSet.of(Colum... | java |
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: EnterSceneReadyReq.proto package emu.grasscutter.net.proto; public final class EnterSceneReadyReqOuterClass { private EnterSceneReadyReqOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } ... | // Generated by the protocol buffer compiler. DO NOT EDIT! // source: EnterSceneReadyReq.proto package emu.grasscutter.net.proto; public final class EnterSceneReadyReqOuterClass { private EnterSceneReadyReqOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } ... | java |
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: EnterSceneReadyReq.proto package emu.grasscutter.net.proto; public final class EnterSceneReadyReqOuterClass { private EnterSceneReadyReqOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } ... | // Generated by the protocol buffer compiler. DO NOT EDIT! // source: EnterSceneReadyReq.proto package emu.grasscutter.net.proto; public final class EnterSceneReadyReqOuterClass { private EnterSceneReadyReqOuterClass() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } ... | java |
extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.EnterSceneReadyReqOuterClass.EnterSceneReadyReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferExcep... | extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.EnterSceneReadyReqOuterClass.EnterSceneReadyReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferExcep... | java |
com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.EnterSceneReadyReqOuterClass.EnterSceneReadyReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parse... | com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.EnterSceneReadyReqOuterClass.EnterSceneReadyReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parse... | java |
setEnterSceneToken(other.getEnterSceneToken()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionReg... | setEnterSceneToken(other.getEnterSceneToken()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionReg... | java |
parsedMessage = (emu.grasscutter.net.proto.EnterSceneReadyReqOuterClass.EnterSceneReadyReq) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int enterSceneToken_ ; /** * <code>uint32 enter_scene_token = 15;</code> * @ret... | parsedMessage = (emu.grasscutter.net.proto.EnterSceneReadyReqOuterClass.EnterSceneReadyReq) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int enterSceneToken_ ; /** * <code>uint32 enter_scene_token = 15;</code> * @ret... | java |
private static byte[] prepareBin() { byte[] bb = new byte[77777]; for (int i=0; i<bb.length; i++) { // Generate unique values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath,... | private static byte[] prepareBin() { byte[] bb = new byte[77777]; for (int i=0; i<bb.length; i++) { // Generate unique values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath,... | java |
prepareBin() { byte[] bb = new byte[77777]; for (int i=0; i<bb.length; i++) { // Generate unique values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath, null); } /* * Run the... | prepareBin() { byte[] bb = new byte[77777]; for (int i=0; i<bb.length; i++) { // Generate unique values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath, null); } /* * Run the... | java |
i<bb.length; i++) { // Generate unique values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath, null); } /* * Run the HadoopArchives tool to create an archive on the * given f... | i<bb.length; i++) { // Generate unique values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath, null); } /* * Run the HadoopArchives tool to create an archive on the * given f... | java |
values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath, null); } /* * Run the HadoopArchives tool to create an archive on the * given file system. */ private String makeArchi... | values, as possible: double d = Math.log(i + 2); long bits = Double.doubleToLongBits(d); bb[i] = (byte)bits; } return bb; } private String makeArchive() throws Exception { return makeArchive(inputPath, null); } /* * Run the HadoopArchives tool to create an archive on the * given file system. */ private String makeArchi... | java |
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | java |
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | java |
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | java |
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not ... | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.