Skip to content

Commit b8f93a2

Browse files
authored
add the method satisfyInteger in LongFilter by editing FilterTemplate.ftl (#667)
1 parent 48217e0 commit b8f93a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

java/tsfile/src/main/codegen/templates/FilterTemplate.ftl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ public abstract class ${className} extends ValueFilter {
5959
return valueSatisfy(value);
6060
}
6161

62+
<#if filter.dataType == "long">
63+
@Override
64+
public boolean satisfyInteger(long time, int value){
65+
return satisfyLong(time, value);
66+
}
67+
</#if>
68+
6269
@Override
6370
public ClassSerializeId getClassSerializeId() {
6471
return ${filter.classSerializeName};

0 commit comments

Comments
 (0)