Skip to content

Commit 0a1b001

Browse files
authored
Merge branch 'main' into support-legacy-spliterator-for-streaming-scan-queries
2 parents 6a7e216 + 544e77f commit 0a1b001

File tree

23 files changed

+345
-36
lines changed

23 files changed

+345
-36
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you wish to contribute to YOJ, see the [Notice to external contributors](CONT
1919
<dependency>
2020
<groupId>tech.ydb.yoj</groupId>
2121
<artifactId>yoj-bom</artifactId>
22-
<version>2.6.22</version>
22+
<version>2.6.23</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>

aspect/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>tech.ydb.yoj</groupId>
1212
<artifactId>yoj-parent</artifactId>
13-
<version>2.6.22</version>
13+
<version>2.6.24-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>tech.ydb.yoj</groupId>
88
<artifactId>yoj-bom</artifactId>
9-
<version>2.6.22</version>
9+
<version>2.6.24-SNAPSHOT</version>
1010
<packaging>pom</packaging>
1111

1212
<name>YOJ - Bill of Materials</name>

databind/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>tech.ydb.yoj</groupId>
1212
<artifactId>yoj-parent</artifactId>
13-
<version>2.6.22</version>
13+
<version>2.6.24-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

databind/src/main/java/tech/ydb/yoj/databind/schema/GlobalIndex.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
enum Type {
4040
GLOBAL,
41+
GLOBAL_ASYNC,
4142
UNIQUE
4243
}
4344
}

databind/src/main/java/tech/ydb/yoj/databind/schema/Schema.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.google.common.base.Preconditions;
55
import com.google.common.collect.Lists;
66
import lombok.AllArgsConstructor;
7+
import lombok.Builder;
78
import lombok.Getter;
89
import lombok.NonNull;
910
import lombok.SneakyThrows;
@@ -186,7 +187,12 @@ name, getType(), fieldPath)
186187
}
187188
columns.add(field.getName());
188189
}
189-
outputIndexes.add(new Index(name, List.copyOf(columns), index.type() == GlobalIndex.Type.UNIQUE));
190+
outputIndexes.add(Index.builder()
191+
.indexName(name)
192+
.fieldNames(List.copyOf(columns))
193+
.unique(index.type() == GlobalIndex.Type.UNIQUE)
194+
.async(index.type() == GlobalIndex.Type.GLOBAL_ASYNC)
195+
.build());
190196
}
191197
return outputIndexes;
192198
}
@@ -831,9 +837,10 @@ public FieldValueType getFieldValueType() {
831837

832838
@Value
833839
@AllArgsConstructor
840+
@Builder
834841
public static class Index {
835842
public Index(@NonNull String indexName, @NonNull List<String> fieldNames) {
836-
this(indexName, fieldNames, false);
843+
this(indexName, fieldNames, false, false);
837844
}
838845

839846
@NonNull
@@ -844,6 +851,8 @@ public Index(@NonNull String indexName, @NonNull List<String> fieldNames) {
844851
List<String> fieldNames;
845852

846853
boolean unique;
854+
855+
boolean async;
847856
}
848857

849858
@Value

ext-meta-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>tech.ydb.yoj</groupId>
1212
<artifactId>yoj-parent</artifactId>
13-
<version>2.6.22</version>
13+
<version>2.6.24-SNAPSHOT</version>
1414
</parent>
1515

1616
<name>YOJ - Meta generator</name>

json-jackson-v2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>tech.ydb.yoj</groupId>
1212
<artifactId>yoj-parent</artifactId>
13-
<version>2.6.22</version>
13+
<version>2.6.24-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>tech.ydb.yoj</groupId>
88
<artifactId>yoj-parent</artifactId>
9-
<version>2.6.22</version>
9+
<version>2.6.24-SNAPSHOT</version>
1010
<packaging>pom</packaging>
1111

1212
<name>YDB ORM for Java (YOJ)</name>

repository-inmemory/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>tech.ydb.yoj</groupId>
1212
<artifactId>yoj-parent</artifactId>
13-
<version>2.6.22</version>
13+
<version>2.6.24-SNAPSHOT</version>
1414
<relativePath>../pom.xml</relativePath>
1515
</parent>
1616

0 commit comments

Comments
 (0)