qpc.q

Another q process as a data source: h:hopen `:pq:qpc:alias:host:port connects and answers the alias symbol `:pq:qpc:alias; h "1+1" is a sync call, h (`async;"x::1") an async send, `:pq:qpc:alias:table/ is that process's table for get, set, upsert and qsql (the query is pushed to the peer), hclose h closes it. \?handles has examples. Every .qpc member is a hook the handle machinery calls; none is a user door.

Examples

h:hopen `:pq:qpc:peer:localhost:5000
h "1+1"
h (`async;"x::1")
select from `:pq:qpc:peer:trade/ where px>2
hclose h

Entity Summary

EntitiesShort Description

Entity Details