java/kudu-client/src/test/java/org/apache/kudu/util/ClientTestUtil.java
public static void loadDefaultTable(KuduClient client, String tableName, int numRows)
      throws KuduException {
    KuduTable table = client.openTable(tableName);
    KuduSession session = client.newSession();
    for (int i = 0; i < numRows; i++) {
      Insert insert = createBasicSchemaInsert(table, i);
      session.apply(insert);
    }
    session.flush();
    session.close();
  }
/**
   * Load a table of default schema with the specified number of records, in ascending key order.
   */
Load a table of default schema with the specified number of records, in ascending key order.
Load a table of default schema with the specified number of records in ascending key order .
public static void loadDefaultTable(KuduClient client, String tableName, int numRows)
      throws KuduException {
    KuduTable table = client.openTable(tableName);
    KuduSession session = client.newSession();
    for (int i = 0; i < numRows; i++) {
      Insert insert = createBasicSchemaInsert(table, i);
      session.apply(insert);
    }
    session.flush();
    session.close();
  }
public static void loadDefaultTable ( KuduClient client , String tableName , int numRows ) throws KuduException { KuduTable table = client . openTable ( tableName ) ; KuduSession session = client . newSession ( ) ; for ( int i = 0 ; i < numRows ; i ++ ) { Insert insert = createBasicSchemaInsert ( table , i ) ; session . apply ( insert ) ; } session . flush ( ) ; session . close ( ) ; }
Load a table of default schema with the specified number of records, in ascending key order.
Load a table of default schema with the specified number of records in ascending key order .