Package org.apache.drill.jdbc

Examples of org.apache.drill.jdbc.DrillTable


    TableInfo info = (TableInfo) tables.get(name);
    if(info != null) return (Table<E>) info.table;
    Object selection = schemaProvider.getSelectionBaseOnName(name);
    if(selection == null) return null;
   
    DrillTable table = DrillTable.createTable(client, typeFactory, this, name, null, config, selection);
    info = new TableInfo(name, table);
    TableInfo oldInfo = (TableInfo) tables.putIfAbsent(name, info);
    if(oldInfo != null) return (Table<E>) oldInfo.table;
    return (Table<E>) table;
  }
View Full Code Here

TOP

Related Classes of org.apache.drill.jdbc.DrillTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.