public class CheckPointBackendQuery extends Object
Modifier and Type | Method and Description |
---|---|
static String |
clickhouseLastCommittedQuery(String applicationIdKey,
String applicationIdValue) |
static String |
elasticsearchLastCommittedQuery(String applicationIdKeyDotKeyword,
String applicationIdValue)
Generate a query that will be used against an ELASTIC cluster to retrieve 1 document
|
public static String elasticsearchLastCommittedQuery(String applicationIdKeyDotKeyword, String applicationIdValue)
Note it is expected that the field name is a keyword
Document returned will be in the form of: ElasticCheckpointPojo class
applicationIdKeyDotKeyword
- an id key name that will be common for all instance of your application (i.e IKeys.PLANDOTRUNTIMEDOTIDDOTKEYWORD)applicationIdValue
- a unique id that will be used to identify your applicationCopyright © 2014–2023. All rights reserved.