annotate src/goodjava/lucene/logging/OpDoer.java @ 1660:2968e43cdd44

manual work
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Apr 2022 23:46:06 -0600
parents 52241b69c339
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1548
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 package goodjava.lucene.logging;
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 import java.io.IOException;
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 import java.util.Map;
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 import org.apache.lucene.search.Query;
1549
41c32da4cbd1 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents: 1548
diff changeset
6 import goodjava.lucene.api.GoodIndexWriter;
1548
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8
1551
9cc4cee39b8b add LuanOpDoer
Franklin Schmidt <fschmidt@gmail.com>
parents: 1549
diff changeset
9 public interface OpDoer {
9cc4cee39b8b add LuanOpDoer
Franklin Schmidt <fschmidt@gmail.com>
parents: 1549
diff changeset
10 public void commit() throws IOException;
9cc4cee39b8b add LuanOpDoer
Franklin Schmidt <fschmidt@gmail.com>
parents: 1549
diff changeset
11 public void deleteAll(long time) throws IOException;
9cc4cee39b8b add LuanOpDoer
Franklin Schmidt <fschmidt@gmail.com>
parents: 1549
diff changeset
12 public void deleteDocuments(long time,Query query) throws IOException;
9cc4cee39b8b add LuanOpDoer
Franklin Schmidt <fschmidt@gmail.com>
parents: 1549
diff changeset
13 public void addDocument(long time,Map<String,Object> storedFields) throws IOException;
9cc4cee39b8b add LuanOpDoer
Franklin Schmidt <fschmidt@gmail.com>
parents: 1549
diff changeset
14 public void updateDocument(long time,String keyFieldName,Map<String,Object> storedFields) throws IOException;
9cc4cee39b8b add LuanOpDoer
Franklin Schmidt <fschmidt@gmail.com>
parents: 1549
diff changeset
15 public void tag(long time,String tag) throws IOException;
1548
736ec76bbf42 lucene log work
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 }