Beispiel #1
0
        public async Task GlobalSetup()
        {
            _javaServer = await JavaServer.StartAsync();

            _client = await IgniteClient.StartAsync(new IgniteClientConfiguration("127.0.0.1:" + _javaServer.Port));

            _table = (await _client.Tables.GetTableAsync("PUB.tbl1")) !.RecordBinaryView;

            var tuple = new IgniteTuple
            {
                ["key"] = 1,
                ["val"] = "foo"
            };

            await _table.UpsertAsync(null, tuple);

            _keyTuple = new IgniteTuple
            {
                ["key"] = 1
            };
        }