Skip to content

Commit

Permalink
chore: optimize imports (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiachun authored Dec 26, 2023
1 parent b59619d commit dad6406
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion ingester-example/src/main/java/io/greptime/MyMetric2.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import io.greptime.models.Column;
import io.greptime.models.DataType;
import io.greptime.models.Metric;
import java.math.BigDecimal;
import java.util.Date;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import io.greptime.common.util.MetricsUtil;
import io.greptime.models.Err;
import io.greptime.models.Result;
import io.greptime.models.WriteOk;
import io.greptime.models.Table;
import io.greptime.models.WriteOk;
import io.greptime.options.GreptimeOptions;
import io.greptime.options.RouterOptions;
import io.greptime.options.WriteOptions;
Expand Down
2 changes: 1 addition & 1 deletion ingester-protocol/src/main/java/io/greptime/Write.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import io.greptime.models.Err;
import io.greptime.models.Result;
import io.greptime.models.WriteOk;
import io.greptime.models.Table;
import io.greptime.models.WriteOk;
import io.greptime.rpc.Context;

import java.util.Collection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
import io.greptime.models.AuthInfo;
import io.greptime.models.Err;
import io.greptime.models.Result;
import io.greptime.models.WriteOk;
import io.greptime.models.Table;
import io.greptime.models.TableHelper;
import io.greptime.models.WriteOk;
import io.greptime.models.WriteTables;
import io.greptime.options.WriteOptions;
import io.greptime.rpc.Context;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import io.greptime.models.Err;
import io.greptime.models.Result;
import io.greptime.models.WriteOk;
import io.greptime.models.Table;
import io.greptime.models.WriteOk;
import java.util.Collection;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package io.greptime.models;

import io.greptime.common.Endpoint;
import java.util.Collection;

/**
* Contains the write/query error value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public long getNanoseconds() {
return nanoseconds;
}


@Override
public Common.IntervalMonthDayNano into() {
return Common.IntervalMonthDayNano.newBuilder() //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import io.greptime.v1.Common;
import io.greptime.v1.Database;
import java.util.Collection;
import java.util.Collections;

/**
* @author jiachun.fjc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/
package io.greptime.models;

import java.util.Collection;

/**
* Contains the success value of write.
*
Expand Down

0 comments on commit dad6406

Please sign in to comment.