I hereby claim:
- I am pilshchikov on github.
- I am pilshchikov (https://keybase.io/pilshchikov) on keybase.
- I have a public key ASDVzgNYzSEBgFv5htrYexMytQAn9KutnBBhLWg9Ll-A5go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Deploy yaml Selenoid + Selenoid UI + GGR + GGR UI + Selenoid UI | |
version: '3' | |
services: | |
selenoid-c-f-latest: | |
image: "aerokube/selenoid:latest-release" | |
networks: | |
- selenium-net | |
ports: | |
- "4466:4444" | |
volumes: |
from pyignite import Client | |
client = Client() | |
client.connect('127.0.0.1', 10800) | |
client.sql('DROP TABLE test IF EXISTS') | |
client.sql('CREATE TABLE test(id int primary key, varbin VARBINARY)') | |
client.sql('INSERT INTO test(id, varbin) VALUES (?, ?)', query_args=(1, bytearray('Test message', 'UTF-8'))) | |
result = client.sql('SELECT * FROM test') | |
field_data = list(*result) |
################## PYTHON ######################### | |
from pyignite import Client | |
from pyignite.datatypes import * | |
client = Client() | |
client.connect('127.0.0.1', 10800) | |
cache = client.get_or_create_cache("INTEGER_INTEGER_PY") | |
cache.put(1, (2, { | |
-2147483647: 2147483647, |
############## PYTHON ############################ | |
from pyignite import Client | |
from pyignite.datatypes import * | |
from decimal import Decimal | |
client = Client() | |
client.connect('127.0.0.1', 10800) | |
cache = client.get_or_create_cache("DECIMAL_SET_PY") | |
cache.put(1, Decimal('7.654321'), key_hint=IntObject, value_hint=DecimalObject) |
from pyignite import Client | |
from datetime import datetime | |
from pyignite.datatypes import * | |
client = Client() | |
client.connect('127.0.0.1', 10800) | |
cache = client.get_or_create_cache("ARRAY_LIST_INTEGER_PY") | |
cache.put(1, (0, [-2147483647, 0, 2147483647]), key_hint=IntObject, value_hint=CollectionObject) |
#include <iostream> | |
#include <boost/chrono.hpp> | |
#include <ignite/ignite_error.h> | |
#include <ignite/thin/ignite_client.h> | |
/// Constants | |
const std::string addresses = getenv("HOST"); |
1 ---------------------------------------------------------- | |
from pyignite import Client | |
from pyignite.datatypes import * | |
from datetime import datetime | |
client = Client() | |
client.connect('127.0.0.1', 10800) | |
cache = client.get_or_create_cache("PY_COLLECTION_ARRAY_LIST_TIMESTAMP_TIMESTAMP") | |
cache.put(1, (1, [(datetime.strptime('2018-10-31T19:43:34.264437', '%Y-%m-%dT%H:%M:%S.%f'), 264437), (datetime.strptime('2018-10-31T19:43:34.264438', '%Y-%m-%dT%H:%M:%S.%f'), 264438)]), key_hint=IntObject, value_hint=CollectionObject) |
ClientCache<Integer, Object[]> cache = igniteClient.getOrCreateCache("E4"); | |
String[] str_list = new String[]{"first", "second"}; | |
cache.put(1 , str_list); | |
System.out.println(cache.get(1)[0]); | |
ClientCache<Integer, Object[]> cache2 = igniteClient.getOrCreateCache("E3"); | |
Integer[] int_list = new Integer[]{1, 2}; | |
cache2.put(1 , int_list); | |
System.out.println(cache2.get(1)[0]); |
IgniteClient = require('apache-ignite-client'); | |
IgniteClientConfiguration = IgniteClient.IgniteClientConfiguration; | |
const ObjectType = IgniteClient.ObjectType; | |
ENDPOINT = '127.0.0.1:10800'; | |
igniteClient = new IgniteClient(); | |
async function start() { | |
await igniteClient.connect(new IgniteClientConfiguration(ENDPOINT)); |