Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Lib
core
OS Core Common
Commits
74e09067
Commit
74e09067
authored
Sep 09, 2021
by
neelesh thakur
Browse files
Merge branch 'include-null' into 'master'
include null in query response See merge request
!117
parents
6ca8e410
be64b0a7
Pipeline
#64721
failed with stages
in 9 minutes and 18 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/opengroup/osdu/core/common/model/search/CursorQueryResponse.java
View file @
74e09067
...
...
@@ -14,6 +14,7 @@
package
org.opengroup.osdu.core.common.model.search
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
...
...
@@ -30,6 +31,7 @@ import java.util.Map;
public
class
CursorQueryResponse
{
private
String
cursor
;
@JsonInclude
(
JsonInclude
.
Include
.
ALWAYS
)
private
List
<
Map
<
String
,
Object
>>
results
;
private
long
totalCount
;
...
...
src/main/java/org/opengroup/osdu/core/common/model/search/QueryResponse.java
View file @
74e09067
...
...
@@ -14,6 +14,7 @@
package
org.opengroup.osdu.core.common.model.search
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.google.gson.ExclusionStrategy
;
import
com.google.gson.FieldAttributes
;
import
com.google.gson.Gson
;
...
...
@@ -34,6 +35,7 @@ import java.util.Map;
@Builder
public
class
QueryResponse
{
@JsonInclude
(
JsonInclude
.
Include
.
ALWAYS
)
private
List
<
Map
<
String
,
Object
>>
results
=
new
ArrayList
<>();
private
List
<
AggregationResponse
>
aggregations
=
new
ArrayList
<>();
private
long
totalCount
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment