In this section described retention policy(further RP) operation Create RP:
influx.createRetentionPolicy("rpName", "dbName", "duration", intReplicationCount, "optShardDuration", defaulfBool)
res0: Future[Result]
Show database related RP's:
influx.showRetentionPolicies("dbName")
res0: Future[QueryResult[RetentionPolicyInfo]]
Drop RP:
influx.dropRetentionPolicy("rpName", "dbName")
res0: Future[Result]
Update RP:
influx.updateRetentionPolicy("rpName", "dbName", "duration", intReplicationCount, "optShardDuration", defaulfBool)
res0: Future[Result]