This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/develop by this push:
new b8f93a25 add the method satisfyInteger in LongFilter by editing
FilterTemplate.ftl (#667)
b8f93a25 is described below
commit b8f93a25e2bef7561aef05ee8fbf0af1cd55b738
Author: alpass163 <[email protected]>
AuthorDate: Thu Dec 18 18:19:03 2025 +0800
add the method satisfyInteger in LongFilter by editing FilterTemplate.ftl
(#667)
---
java/tsfile/src/main/codegen/templates/FilterTemplate.ftl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/java/tsfile/src/main/codegen/templates/FilterTemplate.ftl
b/java/tsfile/src/main/codegen/templates/FilterTemplate.ftl
index d0574842..e42a0bca 100644
--- a/java/tsfile/src/main/codegen/templates/FilterTemplate.ftl
+++ b/java/tsfile/src/main/codegen/templates/FilterTemplate.ftl
@@ -59,6 +59,13 @@ public abstract class ${className} extends ValueFilter {
return valueSatisfy(value);
}
+ <#if filter.dataType == "long">
+ @Override
+ public boolean satisfyInteger(long time, int value){
+ return satisfyLong(time, value);
+ }
+ </#if>
+
@Override
public ClassSerializeId getClassSerializeId() {
return ${filter.classSerializeName};