@Override
  public void dropRetentionPolicy(final String rpName, final String database) {
    Preconditions.checkNonEmptyString(rpName, "retentionPolicyName");
    Preconditions.checkNonEmptyString(database, "database");
    StringBuilder queryBuilder = new StringBuilder("DROP RETENTION POLICY \"");
    queryBuilder.append(rpName)
        .append("\" ON \"")
        .append(database)
        .append("\"");
    executeQuery(this.influxDBService.postQuery(Query.encode(queryBuilder.toString())));
  }
@ Override public void dropRetentionPolicy ( final String rpName , final String database ) { Preconditions . checkNonEmptyString ( rpName , "retentionPolicyName" ) ; Preconditions . checkNonEmptyString ( database , "database" ) ; StringBuilder queryBuilder = new StringBuilder ( "DROP RETENTION POLICY \"" ) ; queryBuilder . append ( rpName ) . append ( "\" ON \"" ) . append ( database ) . append ( "\"" ) ; executeQuery ( this . influxDBService . postQuery ( Query . encode ( queryBuilder . toString ( ) ) ) ) ; }
{@inheritDoc}
@param rpName the name of the retentionPolicy
@param database the name of the database