Skip to content

Commit

Permalink
remove @NotNull from StreamDBClient.java (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
eemhu authored Aug 7, 2024
1 parent 706a696 commit 4107c8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/com/teragrep/pth_06/planner/StreamDBClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
import com.teragrep.pth_06.jooq.generated.bloomdb.Bloomdb;
import com.teragrep.pth_06.planner.walker.ConditionWalker;
import org.apache.spark.util.sketch.BloomFilter;
import org.jetbrains.annotations.NotNull;
import org.jooq.*;
import org.jooq.conf.MappedSchema;
import org.jooq.conf.RenderMapping;
Expand Down Expand Up @@ -163,7 +162,7 @@ void setIncludeBeforeEpoch(long includeBeforeEpoch) {

int pullToSliceTable(Date day) {
NestedTopNQuery nestedTopNQuery = new NestedTopNQuery();
@NotNull SelectOnConditionStep<Record11<ULong, String, String, String, String, Date, String, String, Long, ULong, ULong>> select =
SelectOnConditionStep<Record11<ULong, String, String, String, String, Date, String, String, Long, ULong, ULong>> select =
ctx.select(
JOURNALDB.LOGFILE.ID,
nestedTopNQuery.directory,
Expand Down Expand Up @@ -229,7 +228,7 @@ void deleteRangeFromSliceTable(long start, long end) {
.execute();
}

@NotNull Result<Record11<ULong, String, String, String, String, Date, String, String, Long, ULong, ULong>> getHourRange(long excludedStartHour, long includedEndHour) {
Result<Record11<ULong, String, String, String, String, Date, String, String, Long, ULong, ULong>> getHourRange(long excludedStartHour, long includedEndHour) {
return ctx.select(
SliceTable.id,
SliceTable.directory,
Expand Down

0 comments on commit 4107c8c

Please sign in to comment.