Skip to content

Commit

Permalink
docs: update documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Mar 2, 2024
1 parent aac7429 commit 4adfbdf
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 81 deletions.
Expand Up @@ -17,7 +17,7 @@
package org.eclipse.jnosql.communication.semistructured;


import org.eclipse.jnosql.communication.semistructured.DeleteQuery.ColumnDelete;
import org.eclipse.jnosql.communication.semistructured.DeleteQuery.EntityDelete;
import org.eclipse.jnosql.communication.semistructured.DeleteQuery.DeleteFrom;
import org.eclipse.jnosql.communication.semistructured.DeleteQuery.DeleteNotCondition;
import org.eclipse.jnosql.communication.semistructured.DeleteQuery.DeleteWhere;
Expand All @@ -29,7 +29,7 @@
/**
* The default implementation to Delete query
*/
class DefaultFluentDeleteQueryBuilder extends BaseQueryBuilder implements ColumnDelete, DeleteFrom,
class DefaultFluentDeleteQueryBuilder extends BaseQueryBuilder implements EntityDelete, DeleteFrom,
DeleteWhere, DeleteNotCondition {

private String columnFamily;
Expand All @@ -43,9 +43,9 @@ class DefaultFluentDeleteQueryBuilder extends BaseQueryBuilder implements Column
}

@Override
public DeleteFrom from(String columnFamily) {
requireNonNull(columnFamily, "columnFamily is required");
this.columnFamily = columnFamily;
public DeleteFrom from(String entity) {
requireNonNull(entity, "columnFamily is required");
this.columnFamily = entity;
return this;
}

Expand Down

0 comments on commit 4adfbdf

Please sign in to comment.