File tree 4 files changed +4
-6
lines changed
rai-sdk/src/main/java/com/relationalai 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package com .relationalai ;
18
18
19
- import com .jsoniter .any .Any ;
20
19
import com .jsoniter .spi .JsonException ;
21
20
import org .apache .arrow .memory .RootAllocator ;
22
21
import org .apache .arrow .vector .FieldVector ;
@@ -318,7 +317,7 @@ private List<Object> parseProblemsResult(String rsp) {
318
317
try {
319
318
output .add (Json .deserialize (data , IntegrityConstraintViolation .class ));
320
319
} catch (JsonException e ) {
321
- output .add (Json .deserialize (data , Problem .class ));
320
+ output .add (Json .deserialize (data , ClientProblem .class ));
322
321
}
323
322
}
324
323
return output ;
Original file line number Diff line number Diff line change 18
18
19
19
import com .jsoniter .annotation .JsonProperty ;
20
20
21
- public class Problem extends Entity {
21
+ public class ClientProblem extends Entity {
22
22
@ JsonProperty (value = "type" , required = true )
23
23
public String type ;
24
24
@@ -37,5 +37,5 @@ public class Problem extends Entity {
37
37
@ JsonProperty (value = "report" , required = true )
38
38
public String report ;
39
39
40
- public Problem () {}
40
+ public ClientProblem () {}
41
41
}
Original file line number Diff line number Diff line change 6
6
import java .io .ByteArrayInputStream ;
7
7
import java .io .ByteArrayOutputStream ;
8
8
import java .io .IOException ;
9
- import java .io .UnsupportedEncodingException ;
10
9
import java .net .http .HttpResponse ;
11
10
import java .nio .charset .StandardCharsets ;
12
11
import java .util .ArrayList ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public class TransactionResult extends Entity {
26
26
public Relation [] output ;
27
27
28
28
@ JsonProperty (value = "problems" , required = true )
29
- public Problem [] problems ;
29
+ public ClientProblem [] problems ;
30
30
31
31
public TransactionResult () {}
32
32
}
You can’t perform that action at this time.
0 commit comments