File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
jnosql-couchbase/src/test/java/org/eclipse/jnosql/databases/couchbase/integration Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ /*
3+ * Copyright (c) 2023 Contributors to the Eclipse Foundation
4+ * All rights reserved. This program and the accompanying materials
5+ * are made available under the terms of the Eclipse Public License v1.0
6+ * and Apache License v2.0 which accompanies this distribution.
7+ * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
8+ * and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
9+ *
10+ * You may elect to redistribute this code under either of these licenses.
11+ *
12+ * Contributors:
13+ *
14+ * Maximillian Arruda
15+ *
16+ */
17+ package org .eclipse .jnosql .databases .couchbase .integration ;
18+
19+ import jakarta .data .repository .Repository ;
20+ import org .eclipse .jnosql .databases .couchbase .mapping .CouchbaseRepository ;
21+
22+ import java .util .stream .Stream ;
23+
24+ @ Repository
25+ public interface Library extends CouchbaseRepository <Book , String > {
26+
27+ Stream <Book > findByEditionLessThan (Integer edition );
28+
29+ Stream <Book > findByEditionGreaterThan (Integer edition );
30+
31+ Stream <Book > findByTitleLike (String title );
32+
33+ }
You can’t perform that action at this time.
0 commit comments