0_0_35089965_29763\Main.java:34: 错误: 非法的表达式开始
@SuppressWarnings("resource")
^
0_0_35089965_29763\Main.java:34: 错误: 非法字符: '#'
@SuppressWarnings("resource")
^
0_0_35089965_29763\Main.java:34: 错误: 不是语句
@SuppressWarnings("resource")
^
0_0_35089965_29763\Main.java:34: 错误: 需要';'
@SuppressWarnings("resource")
^
0_0_35089965_29763\Main.java:39: 错误: 非法的类型开始
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(executionId); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse response) { Set<String> set = request.getHeaders(); Iterator<String> iterator = set.iterator(); while(iterator.hasNext()){ String str = iterator.next(); System.out.println(str); } } @Override public void afterBulk(long executionId, BulkRequest request, Throwable failure) { System.out.println("after3"); } })
^
0_0_35089965_29763\Main.java:39: 错误: 非法字符: '#'
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(executionId); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse response) { Set<String> set = request.getHeaders(); Iterator<String> iterator = set.iterator(); while(iterator.hasNext()){ String str = iterator.next(); System.out.println(str); } } @Override public void afterBulk(long executionId, BulkRequest request, Throwable failure) { System.out.println("after3"); } })
^
0_0_35089965_29763\Main.java:39: 错误: 非法的类型开始
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(executionId); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse response) { Set<String> set = request.getHeaders(); Iterator<String> iterator = set.iterator(); while(iterator.hasNext()){ String str = iterator.next(); System.out.println(str); } } @Override public void afterBulk(long executionId, BulkRequest request, Throwable failure) { System.out.println("after3"); } })
^
0_0_35089965_29763\Main.java:39: 错误: 需要<标识符>
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(executionId); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse response) { Set<String> set = request.getHeaders(); Iterator<String> iterator = set.iterator(); while(iterator.hasNext()){ String str = iterator.next(); System.out.println(str); } } @Override public void afterBulk(long executionId, BulkRequest request, Throwable failure) { System.out.println("after3"); } })
^
0_0_35089965_29763\Main.java:39: 错误: 需要';'
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(executionId); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse response) { Set<String> set = request.getHeaders(); Iterator<String> iterator = set.iterator(); while(iterator.hasNext()){ String str = iterator.next(); System.out.println(str); } } @Override public void afterBulk(long executionId, BulkRequest request, Throwable failure) { System.out.println("after3"); } })
^
0_0_35089965_29763\Main.java:39: 错误: 非法的类型开始
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(executionId); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse response) { Set<String> set = request.getHeaders(); Iterator<String> iterator = set.iterator(); while(iterator.hasNext()){ String str = iterator.next(); System.out.println(str); } } @Override public void afterBulk(long executionId, BulkRequest request, Throwable failure) { System.out.println("after3"); } })
^
0_0_35089965_29763\Main.java:39: 错误: 非法字符: '#'
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(executionId); } @Override public void afterBulk(long executionId, BulkRequest request, BulkResponse response) { Set<String> set = request.getHeaders(); Iterator<String> iterator = set.iterator(); while(iterator.hasNext()){ String str = iterator.next(); System.out.println(str); } } @Override public void afterBulk(long executionId, BulkRequest request, Throwable failure) { System.out.println("after3"); } })
^
0_0_35089965_29763\Main.java:39: 错误: 非法的类型开始
BulkProcessor bulkProcessor = BulkProcessor.builder( client, new BulkProcessor.Listener() { @Override public void beforeBulk(long executionId, BulkRequest request) { System.out.println(
|