Geode - store and query JSON documents

2020-11-20 Thread ankit Soni
Hello team, I am *evaluating usage of Geode (1.12) with storing JSON documents and querying the same*. I am able to store the json records successfully in geode but seeking guidance on how to query them. More details on code and sample json is, *Sample client-code* import org.apache.geode.cach

Re: Geode - store and query JSON documents

2020-11-22 Thread ankit Soni
Hello geode-devs, please provide a guidance on this. Ankit. On Sat, 21 Nov 2020 at 10:23, ankit Soni wrote: > Hello team, > > I am *evaluating usage of Geode (1.12) with storing JSON documents and > querying the same*. I am able to store the json records successfully in > ge

Re: Geode - store and query JSON documents

2020-11-23 Thread ankit Soni
above document, it did not provided a query example on > JSON object. > > I can give you some sample code to query on JSON. > > Regards > Xiaojian Zhou > > On 11/22/20, 11:53 AM, "ankit Soni" > wrote: > > Hello

Geode - store and query JSON documents

2020-11-23 Thread ankit Soni
Hello geode-dev, I am *evaluating usage of Geode (1.12) with storing JSON documents and querying the same*. I am able to store the json records successfully in geode but seeking guidance on how to query them. More details on code and sample json is, *Sample client-code* import org.apache.geode

Geode - store and query JSON documents

2020-11-23 Thread ankit Soni
Hello geode-dev, I am *evaluating usage of Geode (1.12) with storing JSON documents and querying the same*. I am able to store the json records successfully in geode but seeking guidance on how to query them. More details on code and sample json is, *Sample client-code* import org.apache.geode

Re: Geode - store and query JSON documents

2020-11-23 Thread ankit Soni
ormat: > region.put("1", pdxInstance); > // Time taken to add to cache: > > And measure the time separately. It will help to see if the time is spent > in getting the PdxInstance or in doing puts. Also, can you measure the time > in avg. > E.g. Say time measured for p

Re: Geode - store and query JSON documents

2020-11-25 Thread ankit Soni
ed/querying_quick_reference.html > > When you want to select a nested collection and inspect its value; you > need to create iterator in the from clause (E.g. d.col2 in the above query) > > You can find other ways to query arrays in the above sample. > > -Anil. > > >

Re: Geode - store and query JSON documents

2020-12-02 Thread ankit Soni
> results.next().stream() > .forEach(struct -> { > Object value = struct.getValue(); > if (value instanceof PdxInstance) { > PdxInstance pdx = (PdxInstance) value; > String jsonString = JSONFor

Geode Client jar dependencies

2020-12-14 Thread ankit Soni
Hello Team, I am embedding geode (1.12) client lib module (mvn project) inside microservice and need to know all mvn dependencies for geode Client. It would be great help if some share or point me to relevant ref Thanks in advance. Ankit

Re: Geode Client jar dependencies

2020-12-16 Thread ankit Soni
s://github.com/spring-projects/spring-boot-data-geode > [2] https://start.spring.io > > > > On Dec 14, 2020, at 5:48 AM, ankit Soni <mailto:ankit.soni.ge...@gmail.com>> wrote: > > Hello Team, > > I am embedding geode (1.12) client lib module (mvn project) inside

How geode server is gracefully shut-down..?

2020-12-16 Thread ankit Soni
Team, Can some one share the technical details about graceful shutdown of geode server, how is this implemented and ensured that there is no resource leftover. What is a behaviour for client requests in progress or submitted.. I have a scenario where few clients are connected to geode cluster and

create region and clear entries from geode-client

2020-12-17 Thread ankit Soni
Hello, I have started using geode (1.12) in recent time and looking to achieve the following from a *java based geode-client program.* 1.* create REPLCIATED and PARTITION regions from the client itself and while creating it, need to provide a config that deletes the entries at specified time.*

Inputs for efficient querying

2021-01-29 Thread ankit Soni
Hello Team, I am loading data into Geode (V 1.12) with the following *Key (of type String)* and *value (custom java object - ValueObject)*. *public class ValueObject implements Serializable {* * private int id;* * private String keyColumn; <- Region.Key * * private String

Re: Inputs for efficient querying

2021-02-09 Thread ankit Soni
rmance out of the query engine if you configure PDX > serialization for your object, either by configuring the auto serializer or > implementing PdxSerializable. That avoids the need to deserialize your > entire value on the server to query/index it. > > -Dan > > > _

Re: Inputs for efficient querying

2021-02-09 Thread ankit Soni
Can some one pls guide how functionality like "BETWEEN" operator can be achieved using geode OQL (for Date fields). Thanks Ankit On Tue, Feb 9, 2021, 11:53 PM ankit Soni wrote: > Thanks Dan for your input. I am able to try this at my end and it's > working as expected.

Re: Inputs for efficient querying

2021-02-12 Thread ankit Soni
ndexes will probably require knowing more about the entire > data set. > Whichever column lookup that can reduce the data down to the smallest > size, will probably be the field to create the index on > > Regards, > -Jason > > On 2/9/21, 9:55 PM, "ankit Soni" wrote: >

Concurrent client doing putAll/ingestion cause server down

2021-02-12 Thread ankit Soni
Geode dev team, I have a total *280 Million rows* in total at source (partitioned) and ingesting in parallel (50+ parallel geode CacheClients doing putALL), Post ingesting half of rows, *one of the servers goes down (crash).* *Additional details* #Servers: 3 (Each having heap approx. 90 GB)