public class TimelineStoreImpl extends Object implements TimelineStore
| 构造器和说明 |
|---|
TimelineStoreImpl(SyncClient client,
TimelineSchema schema) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Close the writer and thread pool.
|
TimelineQueue |
createTimelineQueue(TimelineIdentifier identifier)
Create and get the timeline queue with specified identifier.
|
void |
dropAllTables()
Drop the table of timeline.
|
void |
flush()
Flush all the messages in buffer, wait until finish writing.
|
void |
prepareTables()
Create the table of timeline.
|
SearchResult<TimelineEntry> |
search(SearchParameter searchParameter)
Search timeline entries by search parameter.
|
SearchResult<TimelineEntry> |
search(SearchQuery searchQuery)
Search TimelineEntry by search parameter.
|
public TimelineStoreImpl(SyncClient client, TimelineSchema schema)
public TimelineQueue createTimelineQueue(TimelineIdentifier identifier)
TimelineStorecreateTimelineQueue 在接口中 TimelineStoreidentifier - The identifier of timeline.public SearchResult<TimelineEntry> search(SearchParameter searchParameter)
TimelineStoresearch 在接口中 TimelineStoresearchParameter - The parameter of search, which will convert to SearchQuery.public SearchResult<TimelineEntry> search(SearchQuery searchQuery)
TimelineStoresearch 在接口中 TimelineStoresearchQuery - The SearchQuery of search, which is self-defined query condition.public void prepareTables()
TimelineStoreprepareTables 在接口中 TimelineStorepublic void dropAllTables()
TimelineStoredropAllTables 在接口中 TimelineStorepublic void flush()
TimelineStoreflush 在接口中 TimelineStorepublic void close()
TimelineStoreclose 在接口中 TimelineStoreCopyright © 2025. All Rights Reserved.