Skip to content

Commit 97a5cdf

Browse files
committed
refactor non ResultSet logs
1 parent 8ab9799 commit 97a5cdf

11 files changed

Lines changed: 196 additions & 190 deletions

java-bigquery/google-cloud-bigquery-jdbc/src/main/java/com/google/cloud/bigquery/jdbc/BigQueryArrowBatchWrapper.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121

2222
/** This class acts as a facade layer and wraps Arrow's VectorSchemaRoot & JsonStringArrayList */
2323
class BigQueryArrowBatchWrapper {
24-
private static final BigQueryJdbcCustomLogger LOG =
25-
new BigQueryJdbcCustomLogger(BigQueryArrowBatchWrapper.class.getName());
2624
// Reference to the current arrowBatch
2725
private final ArrowRecordBatch currentArrowBatch;
2826
// Reference to the nested Records, set as null otherwise (Arrays)
@@ -45,35 +43,29 @@ private BigQueryArrowBatchWrapper(
4543
}
4644

4745
static BigQueryArrowBatchWrapper of(ArrowRecordBatch currentArrowBatch, boolean... isLast) {
48-
LOG.finest("++enter++");
4946
boolean isLastFlag = isLast != null && isLast.length == 1 && isLast[0];
5047
return new BigQueryArrowBatchWrapper(currentArrowBatch, null, isLastFlag, null);
5148
}
5249

5350
static BigQueryArrowBatchWrapper getNestedFieldValueListWrapper(
5451
JsonStringArrayList nestedRecords, boolean... isLast) {
55-
LOG.finest("++enter++");
5652
boolean isLastFlag = isLast != null && isLast.length == 1 && isLast[0];
5753
return new BigQueryArrowBatchWrapper(null, nestedRecords, isLastFlag, null);
5854
}
5955

6056
static BigQueryArrowBatchWrapper ofError(Exception exception) {
61-
LOG.finest("++enter++");
6257
return new BigQueryArrowBatchWrapper(null, null, true, exception);
6358
}
6459

6560
ArrowRecordBatch getCurrentArrowBatch() {
66-
LOG.finest("++enter++");
6761
return this.currentArrowBatch;
6862
}
6963

7064
JsonStringArrayList getNestedRecords() {
71-
LOG.finest("++enter++");
7265
return this.nestedRecords;
7366
}
7467

7568
boolean isLast() {
76-
LOG.finest("++enter++");
7769
return this.isLast;
7870
}
7971

0 commit comments

Comments
 (0)