Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,17 +209,6 @@ To delete:
```java
mapper.delete(person);
```

To find:

```java
Function<Person,Boolean> function = person -> {
System.out.println(person.getSsn());
return true;
};

mapper.find(Person.class, function);
```

----

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/aerospike/mapper/tools/IAeroMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ public interface IAeroMapper extends IBaseAeroMapper {
* @param clazz - The type of the record.
* @param function a Boolean function.
* @throws AerospikeException an AerospikeException will be thrown in case of an error.
* @deprecated use the scan/query APIs instead.
*/
@Deprecated
<T> void find(@NotNull Class<T> clazz, Function<T, Boolean> function);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ public interface IReactiveAeroMapper extends IBaseAeroMapper {
* @param clazz - The type of the record.
* @param function a Boolean function.
* @throws AerospikeException an AerospikeException will be thrown in case of an error.
* @deprecated use the scan/query APIs instead.
*/
@Deprecated
<T> Mono<Void> find(@NotNull Class<T> clazz, Function<T, Boolean> function);

/**
Expand Down
128 changes: 0 additions & 128 deletions src/test/java/com/aerospike/mapper/examples/AeroMapperExample.java

This file was deleted.