mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-22 15:13:41 -06:00
move neo4j from previous merge to new structure
This commit is contained in:
parent
99636f3186
commit
0046230abf
@ -72,7 +72,7 @@
|
||||
<dependency>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-core</artifactId>
|
||||
<version>2.2.20</version>
|
||||
<version>2.2.21</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
<artifactId>mvn-defaults</artifactId>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<version>${revision}</version>
|
||||
<relativePath>../mvn-defaults</relativePath>
|
||||
<relativePath>../../mvn-defaults</relativePath>
|
||||
</parent>
|
||||
|
||||
<name>${project.artifactId}</name>
|
@ -197,6 +197,20 @@
|
||||
</dependencies>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>adapter-neo4j-include</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>adapter-neo4j</artifactId>
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>adapter-kafka-include</id>
|
||||
<activation>
|
||||
|
@ -124,6 +124,16 @@
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>adapter-neo4j-module</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>adapter-neo4j</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>adapter-pulsar-module</id>
|
||||
<activation>
|
||||
|
@ -21,10 +21,10 @@ import java.util.function.BinaryOperator;
|
||||
|
||||
public class CycleFunctions {
|
||||
public static <T> CycleFunction<T> of(BinaryOperator<T> reducer, List<CycleFunction<T>> verifiers, T defaultResult) {
|
||||
if (verifiers.size()==0) {
|
||||
if (verifiers.isEmpty()) {
|
||||
return new NOOPVerifier<>(defaultResult);
|
||||
} else if (verifiers.size()==1) {
|
||||
return verifiers.get(0);
|
||||
return verifiers.getFirst();
|
||||
} else {
|
||||
return new CompoundCycleFunction<>(reducer, verifiers);
|
||||
}
|
||||
@ -53,7 +53,7 @@ public class CycleFunctions {
|
||||
}
|
||||
|
||||
@Override
|
||||
public <V> void setVariable(String name, V value) {
|
||||
public <VT> void setVariable(String name, VT value) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user