CAST supports Elasticsearch via its NoSQL for Java extension. Details about how this support is provided for Java source code is discussed below. |
Library | Version | Supported |
---|---|---|
TransportClient | up to: 5.4.0 | |
LowLevelRestClient | up to: 6.0.1 | |
HIghLevelRestClient | up to: 6.2.4 | |
JestClient | Up to: 6.3.0 |
Operation | Methods Supported | |
---|---|---|
Insert |
| |
Update |
| |
Select |
| |
Delete |
|
Icon | Description |
---|---|
Java Elasticsearch Cluster | |
Java Elasticsearch Index | |
Java Unknown Elasticsearch Cluster | |
Java Unknown Elasticsearch Index |
Links are created for transaction and function point needs:
Link type | Source and destination of link | Methods supported |
---|---|---|
belongsTo | From Java Elasticsearch Index object to Java Elasticsearch Cluster object | |
useLink | Between the caller .NET Class / Method objects and Java Elasticsearch Index objects |
|
useInsertLink |
| |
useDeleteLink |
| |
useSelectLink |
| |
useUpdateLink |
|
Once the analysis/snapshot generation has completed, you can view the results in the normal manner (for example via CAST Enlighten). Some examples are shown below.
|
|
|
|
|
APIs such as execute and executeAsync are used to perform all the CRUD operations. To identify which operation to be performed, type of Builder Request is analyzed. |
|
|
|
|
|