diff --git a/block-streamer/Cargo.lock b/block-streamer/Cargo.lock index 4e67d68ed..e0e82e1ee 100644 --- a/block-streamer/Cargo.lock +++ b/block-streamer/Cargo.lock @@ -369,6 +369,12 @@ version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" +[[package]] +name = "ascii" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" + [[package]] name = "assert-json-diff" version = "1.1.0" @@ -961,6 +967,7 @@ dependencies = [ "cached", "chrono", "futures", + "graphql_client", "http 0.2.12", "lazy_static", "mockall", @@ -969,6 +976,7 @@ dependencies = [ "prost 0.12.4", "redis", "registry-types", + "reqwest", "serde", "serde_json", "tokio", @@ -1259,6 +1267,19 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "combine" +version = "3.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680" +dependencies = [ + "ascii", + "byteorder", + "either", + "memchr", + "unreachable", +] + [[package]] name = "combine" version = "4.6.7" @@ -1799,6 +1820,21 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foreign-types" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" +dependencies = [ + "foreign-types-shared", +] + +[[package]] +name = "foreign-types-shared" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1951,6 +1987,65 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +[[package]] +name = "graphql-introspection-query" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f2a4732cf5140bd6c082434494f785a19cfb566ab07d1382c3671f5812fed6d" +dependencies = [ + "serde", +] + +[[package]] +name = "graphql-parser" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ebc8013b4426d5b81a4364c419a95ed0b404af2b82e2457de52d9348f0e474" +dependencies = [ + "combine 3.8.1", + "thiserror", +] + +[[package]] +name = "graphql_client" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a50cfdc7f34b7f01909d55c2dcb71d4c13cbcbb4a1605d6c8bd760d654c1144b" +dependencies = [ + "graphql_query_derive", + "reqwest", + "serde", + "serde_json", +] + +[[package]] +name = "graphql_client_codegen" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e27ed0c2cf0c0cc52c6bcf3b45c907f433015e580879d14005386251842fb0a" +dependencies = [ + "graphql-introspection-query", + "graphql-parser", + "heck 0.4.1", + "lazy_static", + "proc-macro2", + "quote", + "serde", + "serde_json", + "syn 1.0.109", +] + +[[package]] +name = "graphql_query_derive" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83febfa838f898cfa73dfaa7a8eb69ff3409021ac06ee94cfb3d622f6eeb1a97" +dependencies = [ + "graphql_client_codegen", + "proc-macro2", + "syn 1.0.109", +] + [[package]] name = "group" version = "0.12.1" @@ -2180,6 +2275,19 @@ dependencies = [ "tokio-io-timeout", ] +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes", + "hyper", + "native-tls", + "tokio", + "tokio-native-tls", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -2250,6 +2358,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "ipnet" +version = "2.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" + [[package]] name = "itertools" version = "0.10.5" @@ -2482,6 +2596,24 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03" +[[package]] +name = "native-tls" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" +dependencies = [ + "lazy_static", + "libc", + "log", + "openssl", + "openssl-probe", + "openssl-sys", + "schannel", + "security-framework", + "security-framework-sys", + "tempfile", +] + [[package]] name = "near-account-id" version = "1.0.0" @@ -2841,12 +2973,50 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" +[[package]] +name = "openssl" +version = "0.10.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" +dependencies = [ + "bitflags 2.5.0", + "cfg-if", + "foreign-types", + "libc", + "once_cell", + "openssl-macros", + "openssl-sys", +] + +[[package]] +name = "openssl-macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.59", +] + [[package]] name = "openssl-probe" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-sys" +version = "0.9.102" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + [[package]] name = "opentelemetry" version = "0.17.0" @@ -3362,7 +3532,7 @@ dependencies = [ "arc-swap", "async-trait", "bytes", - "combine", + "combine 4.6.7", "futures", "futures-util", "itoa", @@ -3452,6 +3622,46 @@ dependencies = [ "serde", ] +[[package]] +name = "reqwest" +version = "0.11.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" +dependencies = [ + "base64 0.21.7", + "bytes", + "encoding_rs", + "futures-core", + "futures-util", + "h2", + "http 0.2.12", + "http-body 0.4.6", + "hyper", + "hyper-tls", + "ipnet", + "js-sys", + "log", + "mime", + "native-tls", + "once_cell", + "percent-encoding", + "pin-project-lite", + "rustls-pemfile", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "system-configuration", + "tokio", + "tokio-native-tls", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg", +] + [[package]] name = "rfc6979" version = "0.3.1" @@ -3995,6 +4205,27 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "system-configuration" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "tempfile" version = "3.10.1" @@ -4129,6 +4360,16 @@ dependencies = [ "syn 2.0.59", ] +[[package]] +name = "tokio-native-tls" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" +dependencies = [ + "native-tls", + "tokio", +] + [[package]] name = "tokio-rustls" version = "0.24.1" @@ -4507,6 +4748,15 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +[[package]] +name = "unreachable" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" +dependencies = [ + "void", +] + [[package]] name = "unsafe-libyaml" version = "0.2.11" @@ -4554,12 +4804,24 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + [[package]] name = "version_check" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "void" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" + [[package]] name = "vsimd" version = "0.8.0" @@ -4612,6 +4874,18 @@ dependencies = [ "wasm-bindgen-shared", ] +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "wasm-bindgen-macro" version = "0.2.92" @@ -4641,6 +4915,16 @@ version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "which" version = "4.4.2" @@ -4838,6 +5122,16 @@ dependencies = [ "memchr", ] +[[package]] +name = "winreg" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "xmlparser" version = "0.13.6" diff --git a/block-streamer/Cargo.toml b/block-streamer/Cargo.toml index 1072c5e07..c8bc5f499 100644 --- a/block-streamer/Cargo.toml +++ b/block-streamer/Cargo.toml @@ -13,11 +13,14 @@ borsh = "0.10.2" cached = "0.49.3" chrono = "0.4.25" futures = "0.3.5" +graphql_client = { version = "0.14.0", features = ["reqwest"] } lazy_static = "1.4.0" mockall = "0.11.4" +near-lake-framework = "0.7.8" prometheus = "0.13.3" prost = "0.12.3" redis = { version = "0.21.5", features = ["tokio-comp", "connection-manager"] } +reqwest = { version = "^0.11.0", features = ["json"] } serde = { version = "1", features = ["derive"] } serde_json = "1.0.55" tracing = "0.1.40" @@ -31,8 +34,6 @@ wildmatch = "2.1.1" registry-types = { path = "../registry/types" } -near-lake-framework = "0.7.8" - [build-dependencies] tonic-build = "0.10" diff --git a/block-streamer/README.md b/block-streamer/README.md new file mode 100644 index 000000000..e05d4a559 --- /dev/null +++ b/block-streamer/README.md @@ -0,0 +1,23 @@ +// TODO: Improve README further + +## GraphQL Code Generation +Querying a GraphQL requires informing Rust of the correct types to deserialize the response data into. In order to do this, the schema of the GraphQL data needs to be introspected. Following that, the query intended to be called needs to be fully defined. With this information, code can be automatically generated using the macro provided in graphql-client. Below are the instructions on how to do so. + +### Generating schema.graphql +Follow the instructions in the [Hasura Documentation](https://hasura.io/docs/latest/schema/common-patterns/export-graphql-schema/) to introspect the schema and generate the graphql file. Keep in mind that a header for the role needs to be provided. Otherwise, the schemas remain hidden from the public/default user. + +For example: `gq https://my-graphql-engine.com/v1/graphql -H 'X-Hasura-Role: someaccount_near' --introspect > schema.graphql` + +### Generating Rust types from query +After acquiring the graphql file for the schema, write the queries that need to be called in individual graphql files. Once written, add the following code template to a Rust file and the code will be auto generated using the macro. Assuming there are no problems generating the code, the code will be immediately usable. + +``` +#[derive(GraphQLQuery)] +#[graphql( + schema_path = "PATH/TO/schema.graphql", + query_path = "PATH/TO/query.graphql", + response_derives = "Debug", + normalization = "rust" +)] +struct QueryNameInPascalCase; +``` diff --git a/block-streamer/graphql/darunrs_near/get_bitmaps_exact.graphql b/block-streamer/graphql/darunrs_near/get_bitmaps_exact.graphql new file mode 100644 index 000000000..eb5c73b6e --- /dev/null +++ b/block-streamer/graphql/darunrs_near/get_bitmaps_exact.graphql @@ -0,0 +1,6 @@ +query GetBitmapsExact($block_date: date, $receiver_ids: [String!], $limit: Int, $offset: Int) { + darunrs_near_bitmap_v5_actions_index(limit: $limit, offset: $offset, where: {block_date: {_eq: $block_date}, receiver: {receiver: {_in: $receiver_ids}}}) { + bitmap + first_block_height + } +} diff --git a/block-streamer/graphql/darunrs_near/get_bitmaps_wildcard.graphql b/block-streamer/graphql/darunrs_near/get_bitmaps_wildcard.graphql new file mode 100644 index 000000000..d742d0556 --- /dev/null +++ b/block-streamer/graphql/darunrs_near/get_bitmaps_wildcard.graphql @@ -0,0 +1,6 @@ +query GetBitmapsWildcard($block_date: date, $receiver_ids: String, $limit: Int, $offset: Int) { + darunrs_near_bitmap_v5_actions_index(limit: $limit, offset: $offset, where: {block_date: {_eq: $block_date}, receiver: {receiver: {_regex: $receiver_ids}}}) { + bitmap + first_block_height + } +} diff --git a/block-streamer/graphql/darunrs_near/schema.graphql b/block-streamer/graphql/darunrs_near/schema.graphql new file mode 100644 index 000000000..4d27d2019 --- /dev/null +++ b/block-streamer/graphql/darunrs_near/schema.graphql @@ -0,0 +1,6178 @@ +schema { + query: query_root + mutation: mutation_root + subscription: subscription_root +} + +"""whether this query should be cached (Hasura Cloud only)""" +directive @cached( + """measured in seconds""" + ttl: Int! = 60 + + """refresh the cache entry""" + refresh: Boolean! = false +) on QUERY + +""" +Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. +""" +input Int_comparison_exp { + _eq: Int + _gt: Int + _gte: Int + _in: [Int!] + _is_null: Boolean + _lt: Int + _lte: Int + _neq: Int + _nin: [Int!] +} + +""" +Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. +""" +input String_comparison_exp { + _eq: String + _gt: String + _gte: String + + """does the column match the given case-insensitive pattern""" + _ilike: String + _in: [String!] + + """ + does the column match the given POSIX regular expression, case insensitive + """ + _iregex: String + _is_null: Boolean + + """does the column match the given pattern""" + _like: String + _lt: String + _lte: String + _neq: String + + """does the column NOT match the given case-insensitive pattern""" + _nilike: String + _nin: [String!] + + """ + does the column NOT match the given POSIX regular expression, case insensitive + """ + _niregex: String + + """does the column NOT match the given pattern""" + _nlike: String + + """ + does the column NOT match the given POSIX regular expression, case sensitive + """ + _nregex: String + + """does the column NOT match the given SQL regular expression""" + _nsimilar: String + + """ + does the column match the given POSIX regular expression, case sensitive + """ + _regex: String + + """does the column match the given SQL regular expression""" + _similar: String +} + +scalar bigint + +""" +Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. +""" +input bigint_comparison_exp { + _eq: bigint + _gt: bigint + _gte: bigint + _in: [bigint!] + _is_null: Boolean + _lt: bigint + _lte: bigint + _neq: bigint + _nin: [bigint!] +} + +"""ordering argument of a cursor""" +enum cursor_ordering { + """ascending ordering of the cursor""" + ASC + + """descending ordering of the cursor""" + DESC +} + +""" +columns and relationships of "darunrs_near_benchmark_indexer.indexer_storage" +""" +type darunrs_near_benchmark_indexer_indexer_storage { + function_name: String! + key_name: String! + value: String! +} + +""" +aggregated selection of "darunrs_near_benchmark_indexer.indexer_storage" +""" +type darunrs_near_benchmark_indexer_indexer_storage_aggregate { + aggregate: darunrs_near_benchmark_indexer_indexer_storage_aggregate_fields + nodes: [darunrs_near_benchmark_indexer_indexer_storage!]! +} + +""" +aggregate fields of "darunrs_near_benchmark_indexer.indexer_storage" +""" +type darunrs_near_benchmark_indexer_indexer_storage_aggregate_fields { + count(columns: [darunrs_near_benchmark_indexer_indexer_storage_select_column!], distinct: Boolean): Int! + max: darunrs_near_benchmark_indexer_indexer_storage_max_fields + min: darunrs_near_benchmark_indexer_indexer_storage_min_fields +} + +""" +Boolean expression to filter rows from the table "darunrs_near_benchmark_indexer.indexer_storage". All fields are combined with a logical 'AND'. +""" +input darunrs_near_benchmark_indexer_indexer_storage_bool_exp { + _and: [darunrs_near_benchmark_indexer_indexer_storage_bool_exp!] + _not: darunrs_near_benchmark_indexer_indexer_storage_bool_exp + _or: [darunrs_near_benchmark_indexer_indexer_storage_bool_exp!] + function_name: String_comparison_exp + key_name: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_benchmark_indexer_indexer_storage_max_fields { + function_name: String + key_name: String + value: String +} + +"""aggregate min on columns""" +type darunrs_near_benchmark_indexer_indexer_storage_min_fields { + function_name: String + key_name: String + value: String +} + +""" +Ordering options when selecting data from "darunrs_near_benchmark_indexer.indexer_storage". +""" +input darunrs_near_benchmark_indexer_indexer_storage_order_by { + function_name: order_by + key_name: order_by + value: order_by +} + +""" +select columns of table "darunrs_near_benchmark_indexer.indexer_storage" +""" +enum darunrs_near_benchmark_indexer_indexer_storage_select_column { + """column name""" + function_name + + """column name""" + key_name + + """column name""" + value +} + +""" +Streaming cursor of the table "darunrs_near_benchmark_indexer_indexer_storage" +""" +input darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_value_input { + function_name: String + key_name: String + value: String +} + +""" +columns and relationships of "darunrs_near_benchmark_indexer.sys_logs" +""" +type darunrs_near_benchmark_indexer_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "darunrs_near_benchmark_indexer.sys_logs" +""" +type darunrs_near_benchmark_indexer_sys_logs_aggregate { + aggregate: darunrs_near_benchmark_indexer_sys_logs_aggregate_fields + nodes: [darunrs_near_benchmark_indexer_sys_logs!]! +} + +""" +aggregate fields of "darunrs_near_benchmark_indexer.sys_logs" +""" +type darunrs_near_benchmark_indexer_sys_logs_aggregate_fields { + avg: darunrs_near_benchmark_indexer_sys_logs_avg_fields + count(columns: [darunrs_near_benchmark_indexer_sys_logs_select_column!], distinct: Boolean): Int! + max: darunrs_near_benchmark_indexer_sys_logs_max_fields + min: darunrs_near_benchmark_indexer_sys_logs_min_fields + stddev: darunrs_near_benchmark_indexer_sys_logs_stddev_fields + stddev_pop: darunrs_near_benchmark_indexer_sys_logs_stddev_pop_fields + stddev_samp: darunrs_near_benchmark_indexer_sys_logs_stddev_samp_fields + sum: darunrs_near_benchmark_indexer_sys_logs_sum_fields + var_pop: darunrs_near_benchmark_indexer_sys_logs_var_pop_fields + var_samp: darunrs_near_benchmark_indexer_sys_logs_var_samp_fields + variance: darunrs_near_benchmark_indexer_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_benchmark_indexer_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_benchmark_indexer.sys_logs". All fields are combined with a logical 'AND'. +""" +input darunrs_near_benchmark_indexer_sys_logs_bool_exp { + _and: [darunrs_near_benchmark_indexer_sys_logs_bool_exp!] + _not: darunrs_near_benchmark_indexer_sys_logs_bool_exp + _or: [darunrs_near_benchmark_indexer_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_benchmark_indexer_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type darunrs_near_benchmark_indexer_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "darunrs_near_benchmark_indexer.sys_logs". +""" +input darunrs_near_benchmark_indexer_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "darunrs_near_benchmark_indexer.sys_logs" +""" +enum darunrs_near_benchmark_indexer_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type darunrs_near_benchmark_indexer_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_benchmark_indexer_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_benchmark_indexer_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "darunrs_near_benchmark_indexer_sys_logs" +""" +input darunrs_near_benchmark_indexer_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_benchmark_indexer_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_benchmark_indexer_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type darunrs_near_benchmark_indexer_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type darunrs_near_benchmark_indexer_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_benchmark_indexer_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type darunrs_near_benchmark_indexer_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "darunrs_near_benchmark_indexer.sys_metadata" +""" +type darunrs_near_benchmark_indexer_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "darunrs_near_benchmark_indexer.sys_metadata" +""" +type darunrs_near_benchmark_indexer_sys_metadata_aggregate { + aggregate: darunrs_near_benchmark_indexer_sys_metadata_aggregate_fields + nodes: [darunrs_near_benchmark_indexer_sys_metadata!]! +} + +""" +aggregate fields of "darunrs_near_benchmark_indexer.sys_metadata" +""" +type darunrs_near_benchmark_indexer_sys_metadata_aggregate_fields { + count(columns: [darunrs_near_benchmark_indexer_sys_metadata_select_column!], distinct: Boolean): Int! + max: darunrs_near_benchmark_indexer_sys_metadata_max_fields + min: darunrs_near_benchmark_indexer_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "darunrs_near_benchmark_indexer.sys_metadata". All fields are combined with a logical 'AND'. +""" +input darunrs_near_benchmark_indexer_sys_metadata_bool_exp { + _and: [darunrs_near_benchmark_indexer_sys_metadata_bool_exp!] + _not: darunrs_near_benchmark_indexer_sys_metadata_bool_exp + _or: [darunrs_near_benchmark_indexer_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_benchmark_indexer_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type darunrs_near_benchmark_indexer_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "darunrs_near_benchmark_indexer.sys_metadata". +""" +input darunrs_near_benchmark_indexer_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "darunrs_near_benchmark_indexer.sys_metadata" +""" +enum darunrs_near_benchmark_indexer_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "darunrs_near_benchmark_indexer_sys_metadata" +""" +input darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "darunrs_near_bitmap_v3.actions_index" +""" +type darunrs_near_bitmap_v3_actions_index { + bitmap: String! + block_date: String! + first_block_height: numeric! + last_elias_gamma_start_bit: numeric! + max_index: numeric! + receiver_id: String! +} + +""" +aggregated selection of "darunrs_near_bitmap_v3.actions_index" +""" +type darunrs_near_bitmap_v3_actions_index_aggregate { + aggregate: darunrs_near_bitmap_v3_actions_index_aggregate_fields + nodes: [darunrs_near_bitmap_v3_actions_index!]! +} + +""" +aggregate fields of "darunrs_near_bitmap_v3.actions_index" +""" +type darunrs_near_bitmap_v3_actions_index_aggregate_fields { + avg: darunrs_near_bitmap_v3_actions_index_avg_fields + count(columns: [darunrs_near_bitmap_v3_actions_index_select_column!], distinct: Boolean): Int! + max: darunrs_near_bitmap_v3_actions_index_max_fields + min: darunrs_near_bitmap_v3_actions_index_min_fields + stddev: darunrs_near_bitmap_v3_actions_index_stddev_fields + stddev_pop: darunrs_near_bitmap_v3_actions_index_stddev_pop_fields + stddev_samp: darunrs_near_bitmap_v3_actions_index_stddev_samp_fields + sum: darunrs_near_bitmap_v3_actions_index_sum_fields + var_pop: darunrs_near_bitmap_v3_actions_index_var_pop_fields + var_samp: darunrs_near_bitmap_v3_actions_index_var_samp_fields + variance: darunrs_near_bitmap_v3_actions_index_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_bitmap_v3_actions_index_avg_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_bitmap_v3.actions_index". All fields are combined with a logical 'AND'. +""" +input darunrs_near_bitmap_v3_actions_index_bool_exp { + _and: [darunrs_near_bitmap_v3_actions_index_bool_exp!] + _not: darunrs_near_bitmap_v3_actions_index_bool_exp + _or: [darunrs_near_bitmap_v3_actions_index_bool_exp!] + bitmap: String_comparison_exp + block_date: String_comparison_exp + first_block_height: numeric_comparison_exp + last_elias_gamma_start_bit: numeric_comparison_exp + max_index: numeric_comparison_exp + receiver_id: String_comparison_exp +} + +""" +unique or primary key constraints on table "darunrs_near_bitmap_v3.actions_index" +""" +enum darunrs_near_bitmap_v3_actions_index_constraint { + """ + unique or primary key constraint on columns "receiver_id", "block_date" + """ + actions_index_pkey +} + +""" +input type for incrementing numeric columns in table "darunrs_near_bitmap_v3.actions_index" +""" +input darunrs_near_bitmap_v3_actions_index_inc_input { + first_block_height: numeric + last_elias_gamma_start_bit: numeric + max_index: numeric +} + +""" +input type for inserting data into table "darunrs_near_bitmap_v3.actions_index" +""" +input darunrs_near_bitmap_v3_actions_index_insert_input { + bitmap: String + block_date: String + first_block_height: numeric + last_elias_gamma_start_bit: numeric + max_index: numeric + receiver_id: String +} + +"""aggregate max on columns""" +type darunrs_near_bitmap_v3_actions_index_max_fields { + bitmap: String + block_date: String + first_block_height: numeric + last_elias_gamma_start_bit: numeric + max_index: numeric + receiver_id: String +} + +"""aggregate min on columns""" +type darunrs_near_bitmap_v3_actions_index_min_fields { + bitmap: String + block_date: String + first_block_height: numeric + last_elias_gamma_start_bit: numeric + max_index: numeric + receiver_id: String +} + +""" +response of any mutation on the table "darunrs_near_bitmap_v3.actions_index" +""" +type darunrs_near_bitmap_v3_actions_index_mutation_response { + """number of rows affected by the mutation""" + affected_rows: Int! + + """data from the rows affected by the mutation""" + returning: [darunrs_near_bitmap_v3_actions_index!]! +} + +""" +on_conflict condition type for table "darunrs_near_bitmap_v3.actions_index" +""" +input darunrs_near_bitmap_v3_actions_index_on_conflict { + constraint: darunrs_near_bitmap_v3_actions_index_constraint! + update_columns: [darunrs_near_bitmap_v3_actions_index_update_column!]! = [] + where: darunrs_near_bitmap_v3_actions_index_bool_exp +} + +""" +Ordering options when selecting data from "darunrs_near_bitmap_v3.actions_index". +""" +input darunrs_near_bitmap_v3_actions_index_order_by { + bitmap: order_by + block_date: order_by + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +primary key columns input for table: darunrs_near_bitmap_v3.actions_index +""" +input darunrs_near_bitmap_v3_actions_index_pk_columns_input { + block_date: String! + receiver_id: String! +} + +""" +select columns of table "darunrs_near_bitmap_v3.actions_index" +""" +enum darunrs_near_bitmap_v3_actions_index_select_column { + """column name""" + bitmap + + """column name""" + block_date + + """column name""" + first_block_height + + """column name""" + last_elias_gamma_start_bit + + """column name""" + max_index + + """column name""" + receiver_id +} + +""" +input type for updating data in table "darunrs_near_bitmap_v3.actions_index" +""" +input darunrs_near_bitmap_v3_actions_index_set_input { + bitmap: String + block_date: String + first_block_height: numeric + last_elias_gamma_start_bit: numeric + max_index: numeric + receiver_id: String +} + +"""aggregate stddev on columns""" +type darunrs_near_bitmap_v3_actions_index_stddev_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_bitmap_v3_actions_index_stddev_pop_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_bitmap_v3_actions_index_stddev_samp_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float +} + +""" +Streaming cursor of the table "darunrs_near_bitmap_v3_actions_index" +""" +input darunrs_near_bitmap_v3_actions_index_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_bitmap_v3_actions_index_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_bitmap_v3_actions_index_stream_cursor_value_input { + bitmap: String + block_date: String + first_block_height: numeric + last_elias_gamma_start_bit: numeric + max_index: numeric + receiver_id: String +} + +"""aggregate sum on columns""" +type darunrs_near_bitmap_v3_actions_index_sum_fields { + first_block_height: numeric + last_elias_gamma_start_bit: numeric + max_index: numeric +} + +""" +update columns of table "darunrs_near_bitmap_v3.actions_index" +""" +enum darunrs_near_bitmap_v3_actions_index_update_column { + """column name""" + bitmap + + """column name""" + block_date + + """column name""" + first_block_height + + """column name""" + last_elias_gamma_start_bit + + """column name""" + max_index + + """column name""" + receiver_id +} + +input darunrs_near_bitmap_v3_actions_index_updates { + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_bitmap_v3_actions_index_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_actions_index_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp! +} + +"""aggregate var_pop on columns""" +type darunrs_near_bitmap_v3_actions_index_var_pop_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_bitmap_v3_actions_index_var_samp_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float +} + +"""aggregate variance on columns""" +type darunrs_near_bitmap_v3_actions_index_variance_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float +} + +""" +columns and relationships of "darunrs_near_bitmap_v3.sys_logs" +""" +type darunrs_near_bitmap_v3_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "darunrs_near_bitmap_v3.sys_logs" +""" +type darunrs_near_bitmap_v3_sys_logs_aggregate { + aggregate: darunrs_near_bitmap_v3_sys_logs_aggregate_fields + nodes: [darunrs_near_bitmap_v3_sys_logs!]! +} + +""" +aggregate fields of "darunrs_near_bitmap_v3.sys_logs" +""" +type darunrs_near_bitmap_v3_sys_logs_aggregate_fields { + avg: darunrs_near_bitmap_v3_sys_logs_avg_fields + count(columns: [darunrs_near_bitmap_v3_sys_logs_select_column!], distinct: Boolean): Int! + max: darunrs_near_bitmap_v3_sys_logs_max_fields + min: darunrs_near_bitmap_v3_sys_logs_min_fields + stddev: darunrs_near_bitmap_v3_sys_logs_stddev_fields + stddev_pop: darunrs_near_bitmap_v3_sys_logs_stddev_pop_fields + stddev_samp: darunrs_near_bitmap_v3_sys_logs_stddev_samp_fields + sum: darunrs_near_bitmap_v3_sys_logs_sum_fields + var_pop: darunrs_near_bitmap_v3_sys_logs_var_pop_fields + var_samp: darunrs_near_bitmap_v3_sys_logs_var_samp_fields + variance: darunrs_near_bitmap_v3_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_bitmap_v3_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_bitmap_v3.sys_logs". All fields are combined with a logical 'AND'. +""" +input darunrs_near_bitmap_v3_sys_logs_bool_exp { + _and: [darunrs_near_bitmap_v3_sys_logs_bool_exp!] + _not: darunrs_near_bitmap_v3_sys_logs_bool_exp + _or: [darunrs_near_bitmap_v3_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +""" +unique or primary key constraints on table "darunrs_near_bitmap_v3.sys_logs" +""" +enum darunrs_near_bitmap_v3_sys_logs_constraint { + """ + unique or primary key constraint on columns "id", "date" + """ + sys_logs_pkey +} + +""" +input type for incrementing numeric columns in table "darunrs_near_bitmap_v3.sys_logs" +""" +input darunrs_near_bitmap_v3_sys_logs_inc_input { + block_height: numeric + id: bigint +} + +""" +input type for inserting data into table "darunrs_near_bitmap_v3.sys_logs" +""" +input darunrs_near_bitmap_v3_sys_logs_insert_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate max on columns""" +type darunrs_near_bitmap_v3_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type darunrs_near_bitmap_v3_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +response of any mutation on the table "darunrs_near_bitmap_v3.sys_logs" +""" +type darunrs_near_bitmap_v3_sys_logs_mutation_response { + """number of rows affected by the mutation""" + affected_rows: Int! + + """data from the rows affected by the mutation""" + returning: [darunrs_near_bitmap_v3_sys_logs!]! +} + +""" +on_conflict condition type for table "darunrs_near_bitmap_v3.sys_logs" +""" +input darunrs_near_bitmap_v3_sys_logs_on_conflict { + constraint: darunrs_near_bitmap_v3_sys_logs_constraint! + update_columns: [darunrs_near_bitmap_v3_sys_logs_update_column!]! = [] + where: darunrs_near_bitmap_v3_sys_logs_bool_exp +} + +""" +Ordering options when selecting data from "darunrs_near_bitmap_v3.sys_logs". +""" +input darunrs_near_bitmap_v3_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +"""primary key columns input for table: darunrs_near_bitmap_v3.sys_logs""" +input darunrs_near_bitmap_v3_sys_logs_pk_columns_input { + date: date! + id: bigint! +} + +""" +select columns of table "darunrs_near_bitmap_v3.sys_logs" +""" +enum darunrs_near_bitmap_v3_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +""" +input type for updating data in table "darunrs_near_bitmap_v3.sys_logs" +""" +input darunrs_near_bitmap_v3_sys_logs_set_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate stddev on columns""" +type darunrs_near_bitmap_v3_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_bitmap_v3_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_bitmap_v3_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "darunrs_near_bitmap_v3_sys_logs" +""" +input darunrs_near_bitmap_v3_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_bitmap_v3_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_bitmap_v3_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type darunrs_near_bitmap_v3_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +""" +update columns of table "darunrs_near_bitmap_v3.sys_logs" +""" +enum darunrs_near_bitmap_v3_sys_logs_update_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +input darunrs_near_bitmap_v3_sys_logs_updates { + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_bitmap_v3_sys_logs_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_sys_logs_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp! +} + +"""aggregate var_pop on columns""" +type darunrs_near_bitmap_v3_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_bitmap_v3_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type darunrs_near_bitmap_v3_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "darunrs_near_bitmap_v3.sys_metadata" +""" +type darunrs_near_bitmap_v3_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "darunrs_near_bitmap_v3.sys_metadata" +""" +type darunrs_near_bitmap_v3_sys_metadata_aggregate { + aggregate: darunrs_near_bitmap_v3_sys_metadata_aggregate_fields + nodes: [darunrs_near_bitmap_v3_sys_metadata!]! +} + +""" +aggregate fields of "darunrs_near_bitmap_v3.sys_metadata" +""" +type darunrs_near_bitmap_v3_sys_metadata_aggregate_fields { + count(columns: [darunrs_near_bitmap_v3_sys_metadata_select_column!], distinct: Boolean): Int! + max: darunrs_near_bitmap_v3_sys_metadata_max_fields + min: darunrs_near_bitmap_v3_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "darunrs_near_bitmap_v3.sys_metadata". All fields are combined with a logical 'AND'. +""" +input darunrs_near_bitmap_v3_sys_metadata_bool_exp { + _and: [darunrs_near_bitmap_v3_sys_metadata_bool_exp!] + _not: darunrs_near_bitmap_v3_sys_metadata_bool_exp + _or: [darunrs_near_bitmap_v3_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +""" +unique or primary key constraints on table "darunrs_near_bitmap_v3.sys_metadata" +""" +enum darunrs_near_bitmap_v3_sys_metadata_constraint { + """ + unique or primary key constraint on columns "attribute" + """ + sys_metadata_pkey +} + +""" +input type for inserting data into table "darunrs_near_bitmap_v3.sys_metadata" +""" +input darunrs_near_bitmap_v3_sys_metadata_insert_input { + attribute: String + value: String +} + +"""aggregate max on columns""" +type darunrs_near_bitmap_v3_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type darunrs_near_bitmap_v3_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +response of any mutation on the table "darunrs_near_bitmap_v3.sys_metadata" +""" +type darunrs_near_bitmap_v3_sys_metadata_mutation_response { + """number of rows affected by the mutation""" + affected_rows: Int! + + """data from the rows affected by the mutation""" + returning: [darunrs_near_bitmap_v3_sys_metadata!]! +} + +""" +on_conflict condition type for table "darunrs_near_bitmap_v3.sys_metadata" +""" +input darunrs_near_bitmap_v3_sys_metadata_on_conflict { + constraint: darunrs_near_bitmap_v3_sys_metadata_constraint! + update_columns: [darunrs_near_bitmap_v3_sys_metadata_update_column!]! = [] + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp +} + +""" +Ordering options when selecting data from "darunrs_near_bitmap_v3.sys_metadata". +""" +input darunrs_near_bitmap_v3_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +primary key columns input for table: darunrs_near_bitmap_v3.sys_metadata +""" +input darunrs_near_bitmap_v3_sys_metadata_pk_columns_input { + attribute: String! +} + +""" +select columns of table "darunrs_near_bitmap_v3.sys_metadata" +""" +enum darunrs_near_bitmap_v3_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +input type for updating data in table "darunrs_near_bitmap_v3.sys_metadata" +""" +input darunrs_near_bitmap_v3_sys_metadata_set_input { + attribute: String + value: String +} + +""" +Streaming cursor of the table "darunrs_near_bitmap_v3_sys_metadata" +""" +input darunrs_near_bitmap_v3_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_bitmap_v3_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_bitmap_v3_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +update columns of table "darunrs_near_bitmap_v3.sys_metadata" +""" +enum darunrs_near_bitmap_v3_sys_metadata_update_column { + """column name""" + attribute + + """column name""" + value +} + +input darunrs_near_bitmap_v3_sys_metadata_updates { + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_sys_metadata_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp! +} + +""" +columns and relationships of "darunrs_near_bitmap_v5.actions_index" +""" +type darunrs_near_bitmap_v5_actions_index { + bitmap: String! + block_date: date! + first_block_height: Int! + last_elias_gamma_start_bit: Int! + max_index: Int! + + """An object relationship""" + receiver: darunrs_near_bitmap_v5_receivers! + receiver_id: bigint! +} + +""" +aggregated selection of "darunrs_near_bitmap_v5.actions_index" +""" +type darunrs_near_bitmap_v5_actions_index_aggregate { + aggregate: darunrs_near_bitmap_v5_actions_index_aggregate_fields + nodes: [darunrs_near_bitmap_v5_actions_index!]! +} + +input darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp { + count: darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp_count +} + +input darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp_count { + arguments: [darunrs_near_bitmap_v5_actions_index_select_column!] + distinct: Boolean + filter: darunrs_near_bitmap_v5_actions_index_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "darunrs_near_bitmap_v5.actions_index" +""" +type darunrs_near_bitmap_v5_actions_index_aggregate_fields { + avg: darunrs_near_bitmap_v5_actions_index_avg_fields + count(columns: [darunrs_near_bitmap_v5_actions_index_select_column!], distinct: Boolean): Int! + max: darunrs_near_bitmap_v5_actions_index_max_fields + min: darunrs_near_bitmap_v5_actions_index_min_fields + stddev: darunrs_near_bitmap_v5_actions_index_stddev_fields + stddev_pop: darunrs_near_bitmap_v5_actions_index_stddev_pop_fields + stddev_samp: darunrs_near_bitmap_v5_actions_index_stddev_samp_fields + sum: darunrs_near_bitmap_v5_actions_index_sum_fields + var_pop: darunrs_near_bitmap_v5_actions_index_var_pop_fields + var_samp: darunrs_near_bitmap_v5_actions_index_var_samp_fields + variance: darunrs_near_bitmap_v5_actions_index_variance_fields +} + +""" +order by aggregate values of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_aggregate_order_by { + avg: darunrs_near_bitmap_v5_actions_index_avg_order_by + count: order_by + max: darunrs_near_bitmap_v5_actions_index_max_order_by + min: darunrs_near_bitmap_v5_actions_index_min_order_by + stddev: darunrs_near_bitmap_v5_actions_index_stddev_order_by + stddev_pop: darunrs_near_bitmap_v5_actions_index_stddev_pop_order_by + stddev_samp: darunrs_near_bitmap_v5_actions_index_stddev_samp_order_by + sum: darunrs_near_bitmap_v5_actions_index_sum_order_by + var_pop: darunrs_near_bitmap_v5_actions_index_var_pop_order_by + var_samp: darunrs_near_bitmap_v5_actions_index_var_samp_order_by + variance: darunrs_near_bitmap_v5_actions_index_variance_order_by +} + +"""aggregate avg on columns""" +type darunrs_near_bitmap_v5_actions_index_avg_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by avg() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_avg_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.actions_index". All fields are combined with a logical 'AND'. +""" +input darunrs_near_bitmap_v5_actions_index_bool_exp { + _and: [darunrs_near_bitmap_v5_actions_index_bool_exp!] + _not: darunrs_near_bitmap_v5_actions_index_bool_exp + _or: [darunrs_near_bitmap_v5_actions_index_bool_exp!] + bitmap: String_comparison_exp + block_date: date_comparison_exp + first_block_height: Int_comparison_exp + last_elias_gamma_start_bit: Int_comparison_exp + max_index: Int_comparison_exp + receiver: darunrs_near_bitmap_v5_receivers_bool_exp + receiver_id: bigint_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_bitmap_v5_actions_index_max_fields { + bitmap: String + block_date: date + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +""" +order by max() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_max_order_by { + bitmap: order_by + block_date: order_by + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate min on columns""" +type darunrs_near_bitmap_v5_actions_index_min_fields { + bitmap: String + block_date: date + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +""" +order by min() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_min_order_by { + bitmap: order_by + block_date: order_by + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +Ordering options when selecting data from "darunrs_near_bitmap_v5.actions_index". +""" +input darunrs_near_bitmap_v5_actions_index_order_by { + bitmap: order_by + block_date: order_by + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver: darunrs_near_bitmap_v5_receivers_order_by + receiver_id: order_by +} + +""" +select columns of table "darunrs_near_bitmap_v5.actions_index" +""" +enum darunrs_near_bitmap_v5_actions_index_select_column { + """column name""" + bitmap + + """column name""" + block_date + + """column name""" + first_block_height + + """column name""" + last_elias_gamma_start_bit + + """column name""" + max_index + + """column name""" + receiver_id +} + +"""aggregate stddev on columns""" +type darunrs_near_bitmap_v5_actions_index_stddev_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by stddev() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_stddev_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_bitmap_v5_actions_index_stddev_pop_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by stddev_pop() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_stddev_pop_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_bitmap_v5_actions_index_stddev_samp_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by stddev_samp() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_stddev_samp_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +Streaming cursor of the table "darunrs_near_bitmap_v5_actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_bitmap_v5_actions_index_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_bitmap_v5_actions_index_stream_cursor_value_input { + bitmap: String + block_date: date + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +"""aggregate sum on columns""" +type darunrs_near_bitmap_v5_actions_index_sum_fields { + first_block_height: Int + last_elias_gamma_start_bit: Int + max_index: Int + receiver_id: bigint +} + +""" +order by sum() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_sum_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate var_pop on columns""" +type darunrs_near_bitmap_v5_actions_index_var_pop_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by var_pop() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_var_pop_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate var_samp on columns""" +type darunrs_near_bitmap_v5_actions_index_var_samp_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by var_samp() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_var_samp_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +"""aggregate variance on columns""" +type darunrs_near_bitmap_v5_actions_index_variance_fields { + first_block_height: Float + last_elias_gamma_start_bit: Float + max_index: Float + receiver_id: Float +} + +""" +order by variance() on columns of table "darunrs_near_bitmap_v5.actions_index" +""" +input darunrs_near_bitmap_v5_actions_index_variance_order_by { + first_block_height: order_by + last_elias_gamma_start_bit: order_by + max_index: order_by + receiver_id: order_by +} + +""" +columns and relationships of "darunrs_near_bitmap_v5.receivers" +""" +type darunrs_near_bitmap_v5_receivers { + """An array relationship""" + actions_index( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_actions_index_bool_exp + ): [darunrs_near_bitmap_v5_actions_index!]! + + """An aggregate relationship""" + actions_index_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_actions_index_bool_exp + ): darunrs_near_bitmap_v5_actions_index_aggregate! + id: bigint! + receiver: String! +} + +""" +aggregated selection of "darunrs_near_bitmap_v5.receivers" +""" +type darunrs_near_bitmap_v5_receivers_aggregate { + aggregate: darunrs_near_bitmap_v5_receivers_aggregate_fields + nodes: [darunrs_near_bitmap_v5_receivers!]! +} + +""" +aggregate fields of "darunrs_near_bitmap_v5.receivers" +""" +type darunrs_near_bitmap_v5_receivers_aggregate_fields { + avg: darunrs_near_bitmap_v5_receivers_avg_fields + count(columns: [darunrs_near_bitmap_v5_receivers_select_column!], distinct: Boolean): Int! + max: darunrs_near_bitmap_v5_receivers_max_fields + min: darunrs_near_bitmap_v5_receivers_min_fields + stddev: darunrs_near_bitmap_v5_receivers_stddev_fields + stddev_pop: darunrs_near_bitmap_v5_receivers_stddev_pop_fields + stddev_samp: darunrs_near_bitmap_v5_receivers_stddev_samp_fields + sum: darunrs_near_bitmap_v5_receivers_sum_fields + var_pop: darunrs_near_bitmap_v5_receivers_var_pop_fields + var_samp: darunrs_near_bitmap_v5_receivers_var_samp_fields + variance: darunrs_near_bitmap_v5_receivers_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_bitmap_v5_receivers_avg_fields { + id: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.receivers". All fields are combined with a logical 'AND'. +""" +input darunrs_near_bitmap_v5_receivers_bool_exp { + _and: [darunrs_near_bitmap_v5_receivers_bool_exp!] + _not: darunrs_near_bitmap_v5_receivers_bool_exp + _or: [darunrs_near_bitmap_v5_receivers_bool_exp!] + actions_index: darunrs_near_bitmap_v5_actions_index_bool_exp + actions_index_aggregate: darunrs_near_bitmap_v5_actions_index_aggregate_bool_exp + id: bigint_comparison_exp + receiver: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_bitmap_v5_receivers_max_fields { + id: bigint + receiver: String +} + +"""aggregate min on columns""" +type darunrs_near_bitmap_v5_receivers_min_fields { + id: bigint + receiver: String +} + +""" +Ordering options when selecting data from "darunrs_near_bitmap_v5.receivers". +""" +input darunrs_near_bitmap_v5_receivers_order_by { + actions_index_aggregate: darunrs_near_bitmap_v5_actions_index_aggregate_order_by + id: order_by + receiver: order_by +} + +""" +select columns of table "darunrs_near_bitmap_v5.receivers" +""" +enum darunrs_near_bitmap_v5_receivers_select_column { + """column name""" + id + + """column name""" + receiver +} + +"""aggregate stddev on columns""" +type darunrs_near_bitmap_v5_receivers_stddev_fields { + id: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_bitmap_v5_receivers_stddev_pop_fields { + id: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_bitmap_v5_receivers_stddev_samp_fields { + id: Float +} + +""" +Streaming cursor of the table "darunrs_near_bitmap_v5_receivers" +""" +input darunrs_near_bitmap_v5_receivers_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_bitmap_v5_receivers_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_bitmap_v5_receivers_stream_cursor_value_input { + id: bigint + receiver: String +} + +"""aggregate sum on columns""" +type darunrs_near_bitmap_v5_receivers_sum_fields { + id: bigint +} + +"""aggregate var_pop on columns""" +type darunrs_near_bitmap_v5_receivers_var_pop_fields { + id: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_bitmap_v5_receivers_var_samp_fields { + id: Float +} + +"""aggregate variance on columns""" +type darunrs_near_bitmap_v5_receivers_variance_fields { + id: Float +} + +""" +columns and relationships of "darunrs_near_bitmap_v5.sys_logs" +""" +type darunrs_near_bitmap_v5_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "darunrs_near_bitmap_v5.sys_logs" +""" +type darunrs_near_bitmap_v5_sys_logs_aggregate { + aggregate: darunrs_near_bitmap_v5_sys_logs_aggregate_fields + nodes: [darunrs_near_bitmap_v5_sys_logs!]! +} + +""" +aggregate fields of "darunrs_near_bitmap_v5.sys_logs" +""" +type darunrs_near_bitmap_v5_sys_logs_aggregate_fields { + avg: darunrs_near_bitmap_v5_sys_logs_avg_fields + count(columns: [darunrs_near_bitmap_v5_sys_logs_select_column!], distinct: Boolean): Int! + max: darunrs_near_bitmap_v5_sys_logs_max_fields + min: darunrs_near_bitmap_v5_sys_logs_min_fields + stddev: darunrs_near_bitmap_v5_sys_logs_stddev_fields + stddev_pop: darunrs_near_bitmap_v5_sys_logs_stddev_pop_fields + stddev_samp: darunrs_near_bitmap_v5_sys_logs_stddev_samp_fields + sum: darunrs_near_bitmap_v5_sys_logs_sum_fields + var_pop: darunrs_near_bitmap_v5_sys_logs_var_pop_fields + var_samp: darunrs_near_bitmap_v5_sys_logs_var_samp_fields + variance: darunrs_near_bitmap_v5_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_bitmap_v5_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.sys_logs". All fields are combined with a logical 'AND'. +""" +input darunrs_near_bitmap_v5_sys_logs_bool_exp { + _and: [darunrs_near_bitmap_v5_sys_logs_bool_exp!] + _not: darunrs_near_bitmap_v5_sys_logs_bool_exp + _or: [darunrs_near_bitmap_v5_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_bitmap_v5_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type darunrs_near_bitmap_v5_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "darunrs_near_bitmap_v5.sys_logs". +""" +input darunrs_near_bitmap_v5_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "darunrs_near_bitmap_v5.sys_logs" +""" +enum darunrs_near_bitmap_v5_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type darunrs_near_bitmap_v5_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_bitmap_v5_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_bitmap_v5_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "darunrs_near_bitmap_v5_sys_logs" +""" +input darunrs_near_bitmap_v5_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_bitmap_v5_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_bitmap_v5_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type darunrs_near_bitmap_v5_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type darunrs_near_bitmap_v5_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_bitmap_v5_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type darunrs_near_bitmap_v5_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "darunrs_near_bitmap_v5.sys_metadata" +""" +type darunrs_near_bitmap_v5_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "darunrs_near_bitmap_v5.sys_metadata" +""" +type darunrs_near_bitmap_v5_sys_metadata_aggregate { + aggregate: darunrs_near_bitmap_v5_sys_metadata_aggregate_fields + nodes: [darunrs_near_bitmap_v5_sys_metadata!]! +} + +""" +aggregate fields of "darunrs_near_bitmap_v5.sys_metadata" +""" +type darunrs_near_bitmap_v5_sys_metadata_aggregate_fields { + count(columns: [darunrs_near_bitmap_v5_sys_metadata_select_column!], distinct: Boolean): Int! + max: darunrs_near_bitmap_v5_sys_metadata_max_fields + min: darunrs_near_bitmap_v5_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "darunrs_near_bitmap_v5.sys_metadata". All fields are combined with a logical 'AND'. +""" +input darunrs_near_bitmap_v5_sys_metadata_bool_exp { + _and: [darunrs_near_bitmap_v5_sys_metadata_bool_exp!] + _not: darunrs_near_bitmap_v5_sys_metadata_bool_exp + _or: [darunrs_near_bitmap_v5_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_bitmap_v5_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type darunrs_near_bitmap_v5_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "darunrs_near_bitmap_v5.sys_metadata". +""" +input darunrs_near_bitmap_v5_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "darunrs_near_bitmap_v5.sys_metadata" +""" +enum darunrs_near_bitmap_v5_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "darunrs_near_bitmap_v5_sys_metadata" +""" +input darunrs_near_bitmap_v5_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_bitmap_v5_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_bitmap_v5_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "darunrs_near_social_feed_test.comments" +""" +type darunrs_near_social_feed_test_comments { + account_id: String! + block_height: numeric! + block_timestamp: numeric! + content: String! + id: Int! + + """An object relationship""" + post: darunrs_near_social_feed_test_posts! + post_id: Int! + receipt_id: String! +} + +""" +aggregated selection of "darunrs_near_social_feed_test.comments" +""" +type darunrs_near_social_feed_test_comments_aggregate { + aggregate: darunrs_near_social_feed_test_comments_aggregate_fields + nodes: [darunrs_near_social_feed_test_comments!]! +} + +input darunrs_near_social_feed_test_comments_aggregate_bool_exp { + count: darunrs_near_social_feed_test_comments_aggregate_bool_exp_count +} + +input darunrs_near_social_feed_test_comments_aggregate_bool_exp_count { + arguments: [darunrs_near_social_feed_test_comments_select_column!] + distinct: Boolean + filter: darunrs_near_social_feed_test_comments_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "darunrs_near_social_feed_test.comments" +""" +type darunrs_near_social_feed_test_comments_aggregate_fields { + avg: darunrs_near_social_feed_test_comments_avg_fields + count(columns: [darunrs_near_social_feed_test_comments_select_column!], distinct: Boolean): Int! + max: darunrs_near_social_feed_test_comments_max_fields + min: darunrs_near_social_feed_test_comments_min_fields + stddev: darunrs_near_social_feed_test_comments_stddev_fields + stddev_pop: darunrs_near_social_feed_test_comments_stddev_pop_fields + stddev_samp: darunrs_near_social_feed_test_comments_stddev_samp_fields + sum: darunrs_near_social_feed_test_comments_sum_fields + var_pop: darunrs_near_social_feed_test_comments_var_pop_fields + var_samp: darunrs_near_social_feed_test_comments_var_samp_fields + variance: darunrs_near_social_feed_test_comments_variance_fields +} + +""" +order by aggregate values of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_aggregate_order_by { + avg: darunrs_near_social_feed_test_comments_avg_order_by + count: order_by + max: darunrs_near_social_feed_test_comments_max_order_by + min: darunrs_near_social_feed_test_comments_min_order_by + stddev: darunrs_near_social_feed_test_comments_stddev_order_by + stddev_pop: darunrs_near_social_feed_test_comments_stddev_pop_order_by + stddev_samp: darunrs_near_social_feed_test_comments_stddev_samp_order_by + sum: darunrs_near_social_feed_test_comments_sum_order_by + var_pop: darunrs_near_social_feed_test_comments_var_pop_order_by + var_samp: darunrs_near_social_feed_test_comments_var_samp_order_by + variance: darunrs_near_social_feed_test_comments_variance_order_by +} + +"""aggregate avg on columns""" +type darunrs_near_social_feed_test_comments_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by avg() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_avg_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Boolean expression to filter rows from the table "darunrs_near_social_feed_test.comments". All fields are combined with a logical 'AND'. +""" +input darunrs_near_social_feed_test_comments_bool_exp { + _and: [darunrs_near_social_feed_test_comments_bool_exp!] + _not: darunrs_near_social_feed_test_comments_bool_exp + _or: [darunrs_near_social_feed_test_comments_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + content: String_comparison_exp + id: Int_comparison_exp + post: darunrs_near_social_feed_test_posts_bool_exp + post_id: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_social_feed_test_comments_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by max() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_max_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +"""aggregate min on columns""" +type darunrs_near_social_feed_test_comments_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +""" +order by min() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_min_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post_id: order_by + receipt_id: order_by +} + +""" +Ordering options when selecting data from "darunrs_near_social_feed_test.comments". +""" +input darunrs_near_social_feed_test_comments_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + content: order_by + id: order_by + post: darunrs_near_social_feed_test_posts_order_by + post_id: order_by + receipt_id: order_by +} + +""" +select columns of table "darunrs_near_social_feed_test.comments" +""" +enum darunrs_near_social_feed_test_comments_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + post_id + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type darunrs_near_social_feed_test_comments_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_stddev_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_social_feed_test_comments_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_pop() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_stddev_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_social_feed_test_comments_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by stddev_samp() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_stddev_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +Streaming cursor of the table "darunrs_near_social_feed_test_comments" +""" +input darunrs_near_social_feed_test_comments_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_social_feed_test_comments_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_social_feed_test_comments_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + post_id: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type darunrs_near_social_feed_test_comments_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + post_id: Int +} + +""" +order by sum() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_sum_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_pop on columns""" +type darunrs_near_social_feed_test_comments_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_pop() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_var_pop_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate var_samp on columns""" +type darunrs_near_social_feed_test_comments_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by var_samp() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_var_samp_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +"""aggregate variance on columns""" +type darunrs_near_social_feed_test_comments_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + post_id: Float +} + +""" +order by variance() on columns of table "darunrs_near_social_feed_test.comments" +""" +input darunrs_near_social_feed_test_comments_variance_order_by { + block_height: order_by + block_timestamp: order_by + id: order_by + post_id: order_by +} + +""" +columns and relationships of "darunrs_near_social_feed_test.post_likes" +""" +type darunrs_near_social_feed_test_post_likes { + account_id: String! + block_height: numeric + block_timestamp: numeric! + + """An object relationship""" + post: darunrs_near_social_feed_test_posts! + post_id: Int! + receipt_id: String! +} + +""" +aggregated selection of "darunrs_near_social_feed_test.post_likes" +""" +type darunrs_near_social_feed_test_post_likes_aggregate { + aggregate: darunrs_near_social_feed_test_post_likes_aggregate_fields + nodes: [darunrs_near_social_feed_test_post_likes!]! +} + +input darunrs_near_social_feed_test_post_likes_aggregate_bool_exp { + count: darunrs_near_social_feed_test_post_likes_aggregate_bool_exp_count +} + +input darunrs_near_social_feed_test_post_likes_aggregate_bool_exp_count { + arguments: [darunrs_near_social_feed_test_post_likes_select_column!] + distinct: Boolean + filter: darunrs_near_social_feed_test_post_likes_bool_exp + predicate: Int_comparison_exp! +} + +""" +aggregate fields of "darunrs_near_social_feed_test.post_likes" +""" +type darunrs_near_social_feed_test_post_likes_aggregate_fields { + avg: darunrs_near_social_feed_test_post_likes_avg_fields + count(columns: [darunrs_near_social_feed_test_post_likes_select_column!], distinct: Boolean): Int! + max: darunrs_near_social_feed_test_post_likes_max_fields + min: darunrs_near_social_feed_test_post_likes_min_fields + stddev: darunrs_near_social_feed_test_post_likes_stddev_fields + stddev_pop: darunrs_near_social_feed_test_post_likes_stddev_pop_fields + stddev_samp: darunrs_near_social_feed_test_post_likes_stddev_samp_fields + sum: darunrs_near_social_feed_test_post_likes_sum_fields + var_pop: darunrs_near_social_feed_test_post_likes_var_pop_fields + var_samp: darunrs_near_social_feed_test_post_likes_var_samp_fields + variance: darunrs_near_social_feed_test_post_likes_variance_fields +} + +""" +order by aggregate values of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_aggregate_order_by { + avg: darunrs_near_social_feed_test_post_likes_avg_order_by + count: order_by + max: darunrs_near_social_feed_test_post_likes_max_order_by + min: darunrs_near_social_feed_test_post_likes_min_order_by + stddev: darunrs_near_social_feed_test_post_likes_stddev_order_by + stddev_pop: darunrs_near_social_feed_test_post_likes_stddev_pop_order_by + stddev_samp: darunrs_near_social_feed_test_post_likes_stddev_samp_order_by + sum: darunrs_near_social_feed_test_post_likes_sum_order_by + var_pop: darunrs_near_social_feed_test_post_likes_var_pop_order_by + var_samp: darunrs_near_social_feed_test_post_likes_var_samp_order_by + variance: darunrs_near_social_feed_test_post_likes_variance_order_by +} + +"""aggregate avg on columns""" +type darunrs_near_social_feed_test_post_likes_avg_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by avg() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_avg_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +""" +Boolean expression to filter rows from the table "darunrs_near_social_feed_test.post_likes". All fields are combined with a logical 'AND'. +""" +input darunrs_near_social_feed_test_post_likes_bool_exp { + _and: [darunrs_near_social_feed_test_post_likes_bool_exp!] + _not: darunrs_near_social_feed_test_post_likes_bool_exp + _or: [darunrs_near_social_feed_test_post_likes_bool_exp!] + account_id: String_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + post: darunrs_near_social_feed_test_posts_bool_exp + post_id: Int_comparison_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_social_feed_test_post_likes_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + post_id: Int + receipt_id: String +} + +""" +order by max() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_max_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + post_id: order_by + receipt_id: order_by +} + +"""aggregate min on columns""" +type darunrs_near_social_feed_test_post_likes_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + post_id: Int + receipt_id: String +} + +""" +order by min() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_min_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + post_id: order_by + receipt_id: order_by +} + +""" +Ordering options when selecting data from "darunrs_near_social_feed_test.post_likes". +""" +input darunrs_near_social_feed_test_post_likes_order_by { + account_id: order_by + block_height: order_by + block_timestamp: order_by + post: darunrs_near_social_feed_test_posts_order_by + post_id: order_by + receipt_id: order_by +} + +""" +select columns of table "darunrs_near_social_feed_test.post_likes" +""" +enum darunrs_near_social_feed_test_post_likes_select_column { + """column name""" + account_id + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + post_id + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type darunrs_near_social_feed_test_post_likes_stddev_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by stddev() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_stddev_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_social_feed_test_post_likes_stddev_pop_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by stddev_pop() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_stddev_pop_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_social_feed_test_post_likes_stddev_samp_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by stddev_samp() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_stddev_samp_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +""" +Streaming cursor of the table "darunrs_near_social_feed_test_post_likes" +""" +input darunrs_near_social_feed_test_post_likes_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_social_feed_test_post_likes_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_social_feed_test_post_likes_stream_cursor_value_input { + account_id: String + block_height: numeric + block_timestamp: numeric + post_id: Int + receipt_id: String +} + +"""aggregate sum on columns""" +type darunrs_near_social_feed_test_post_likes_sum_fields { + block_height: numeric + block_timestamp: numeric + post_id: Int +} + +""" +order by sum() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_sum_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate var_pop on columns""" +type darunrs_near_social_feed_test_post_likes_var_pop_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by var_pop() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_var_pop_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate var_samp on columns""" +type darunrs_near_social_feed_test_post_likes_var_samp_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by var_samp() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_var_samp_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +"""aggregate variance on columns""" +type darunrs_near_social_feed_test_post_likes_variance_fields { + block_height: Float + block_timestamp: Float + post_id: Float +} + +""" +order by variance() on columns of table "darunrs_near_social_feed_test.post_likes" +""" +input darunrs_near_social_feed_test_post_likes_variance_order_by { + block_height: order_by + block_timestamp: order_by + post_id: order_by +} + +""" +columns and relationships of "darunrs_near_social_feed_test.posts" +""" +type darunrs_near_social_feed_test_posts { + account_id: String! + accounts_liked( + """JSON select path""" + path: String + ): jsonb! + block_height: numeric! + block_timestamp: numeric! + + """An array relationship""" + comments( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_comments_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_comments_bool_exp + ): [darunrs_near_social_feed_test_comments!]! + + """An aggregate relationship""" + comments_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_comments_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_comments_bool_exp + ): darunrs_near_social_feed_test_comments_aggregate! + content: String! + id: Int! + last_comment_timestamp: numeric + + """An array relationship""" + post_likes( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_post_likes_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_post_likes_bool_exp + ): [darunrs_near_social_feed_test_post_likes!]! + + """An aggregate relationship""" + post_likes_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_post_likes_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_post_likes_bool_exp + ): darunrs_near_social_feed_test_post_likes_aggregate! + receipt_id: String! +} + +""" +aggregated selection of "darunrs_near_social_feed_test.posts" +""" +type darunrs_near_social_feed_test_posts_aggregate { + aggregate: darunrs_near_social_feed_test_posts_aggregate_fields + nodes: [darunrs_near_social_feed_test_posts!]! +} + +""" +aggregate fields of "darunrs_near_social_feed_test.posts" +""" +type darunrs_near_social_feed_test_posts_aggregate_fields { + avg: darunrs_near_social_feed_test_posts_avg_fields + count(columns: [darunrs_near_social_feed_test_posts_select_column!], distinct: Boolean): Int! + max: darunrs_near_social_feed_test_posts_max_fields + min: darunrs_near_social_feed_test_posts_min_fields + stddev: darunrs_near_social_feed_test_posts_stddev_fields + stddev_pop: darunrs_near_social_feed_test_posts_stddev_pop_fields + stddev_samp: darunrs_near_social_feed_test_posts_stddev_samp_fields + sum: darunrs_near_social_feed_test_posts_sum_fields + var_pop: darunrs_near_social_feed_test_posts_var_pop_fields + var_samp: darunrs_near_social_feed_test_posts_var_samp_fields + variance: darunrs_near_social_feed_test_posts_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_social_feed_test_posts_avg_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_social_feed_test.posts". All fields are combined with a logical 'AND'. +""" +input darunrs_near_social_feed_test_posts_bool_exp { + _and: [darunrs_near_social_feed_test_posts_bool_exp!] + _not: darunrs_near_social_feed_test_posts_bool_exp + _or: [darunrs_near_social_feed_test_posts_bool_exp!] + account_id: String_comparison_exp + accounts_liked: jsonb_comparison_exp + block_height: numeric_comparison_exp + block_timestamp: numeric_comparison_exp + comments: darunrs_near_social_feed_test_comments_bool_exp + comments_aggregate: darunrs_near_social_feed_test_comments_aggregate_bool_exp + content: String_comparison_exp + id: Int_comparison_exp + last_comment_timestamp: numeric_comparison_exp + post_likes: darunrs_near_social_feed_test_post_likes_bool_exp + post_likes_aggregate: darunrs_near_social_feed_test_post_likes_aggregate_bool_exp + receipt_id: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_social_feed_test_posts_max_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate min on columns""" +type darunrs_near_social_feed_test_posts_min_fields { + account_id: String + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +""" +Ordering options when selecting data from "darunrs_near_social_feed_test.posts". +""" +input darunrs_near_social_feed_test_posts_order_by { + account_id: order_by + accounts_liked: order_by + block_height: order_by + block_timestamp: order_by + comments_aggregate: darunrs_near_social_feed_test_comments_aggregate_order_by + content: order_by + id: order_by + last_comment_timestamp: order_by + post_likes_aggregate: darunrs_near_social_feed_test_post_likes_aggregate_order_by + receipt_id: order_by +} + +""" +select columns of table "darunrs_near_social_feed_test.posts" +""" +enum darunrs_near_social_feed_test_posts_select_column { + """column name""" + account_id + + """column name""" + accounts_liked + + """column name""" + block_height + + """column name""" + block_timestamp + + """column name""" + content + + """column name""" + id + + """column name""" + last_comment_timestamp + + """column name""" + receipt_id +} + +"""aggregate stddev on columns""" +type darunrs_near_social_feed_test_posts_stddev_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_social_feed_test_posts_stddev_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_social_feed_test_posts_stddev_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +Streaming cursor of the table "darunrs_near_social_feed_test_posts" +""" +input darunrs_near_social_feed_test_posts_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_social_feed_test_posts_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_social_feed_test_posts_stream_cursor_value_input { + account_id: String + accounts_liked: jsonb + block_height: numeric + block_timestamp: numeric + content: String + id: Int + last_comment_timestamp: numeric + receipt_id: String +} + +"""aggregate sum on columns""" +type darunrs_near_social_feed_test_posts_sum_fields { + block_height: numeric + block_timestamp: numeric + id: Int + last_comment_timestamp: numeric +} + +"""aggregate var_pop on columns""" +type darunrs_near_social_feed_test_posts_var_pop_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_social_feed_test_posts_var_samp_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +"""aggregate variance on columns""" +type darunrs_near_social_feed_test_posts_variance_fields { + block_height: Float + block_timestamp: Float + id: Float + last_comment_timestamp: Float +} + +""" +columns and relationships of "darunrs_near_social_feed_test.sys_logs" +""" +type darunrs_near_social_feed_test_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "darunrs_near_social_feed_test.sys_logs" +""" +type darunrs_near_social_feed_test_sys_logs_aggregate { + aggregate: darunrs_near_social_feed_test_sys_logs_aggregate_fields + nodes: [darunrs_near_social_feed_test_sys_logs!]! +} + +""" +aggregate fields of "darunrs_near_social_feed_test.sys_logs" +""" +type darunrs_near_social_feed_test_sys_logs_aggregate_fields { + avg: darunrs_near_social_feed_test_sys_logs_avg_fields + count(columns: [darunrs_near_social_feed_test_sys_logs_select_column!], distinct: Boolean): Int! + max: darunrs_near_social_feed_test_sys_logs_max_fields + min: darunrs_near_social_feed_test_sys_logs_min_fields + stddev: darunrs_near_social_feed_test_sys_logs_stddev_fields + stddev_pop: darunrs_near_social_feed_test_sys_logs_stddev_pop_fields + stddev_samp: darunrs_near_social_feed_test_sys_logs_stddev_samp_fields + sum: darunrs_near_social_feed_test_sys_logs_sum_fields + var_pop: darunrs_near_social_feed_test_sys_logs_var_pop_fields + var_samp: darunrs_near_social_feed_test_sys_logs_var_samp_fields + variance: darunrs_near_social_feed_test_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_social_feed_test_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_social_feed_test.sys_logs". All fields are combined with a logical 'AND'. +""" +input darunrs_near_social_feed_test_sys_logs_bool_exp { + _and: [darunrs_near_social_feed_test_sys_logs_bool_exp!] + _not: darunrs_near_social_feed_test_sys_logs_bool_exp + _or: [darunrs_near_social_feed_test_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_social_feed_test_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type darunrs_near_social_feed_test_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +Ordering options when selecting data from "darunrs_near_social_feed_test.sys_logs". +""" +input darunrs_near_social_feed_test_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +""" +select columns of table "darunrs_near_social_feed_test.sys_logs" +""" +enum darunrs_near_social_feed_test_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +"""aggregate stddev on columns""" +type darunrs_near_social_feed_test_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_social_feed_test_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_social_feed_test_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "darunrs_near_social_feed_test_sys_logs" +""" +input darunrs_near_social_feed_test_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_social_feed_test_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_social_feed_test_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type darunrs_near_social_feed_test_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +"""aggregate var_pop on columns""" +type darunrs_near_social_feed_test_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_social_feed_test_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type darunrs_near_social_feed_test_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "darunrs_near_social_feed_test.sys_metadata" +""" +type darunrs_near_social_feed_test_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "darunrs_near_social_feed_test.sys_metadata" +""" +type darunrs_near_social_feed_test_sys_metadata_aggregate { + aggregate: darunrs_near_social_feed_test_sys_metadata_aggregate_fields + nodes: [darunrs_near_social_feed_test_sys_metadata!]! +} + +""" +aggregate fields of "darunrs_near_social_feed_test.sys_metadata" +""" +type darunrs_near_social_feed_test_sys_metadata_aggregate_fields { + count(columns: [darunrs_near_social_feed_test_sys_metadata_select_column!], distinct: Boolean): Int! + max: darunrs_near_social_feed_test_sys_metadata_max_fields + min: darunrs_near_social_feed_test_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "darunrs_near_social_feed_test.sys_metadata". All fields are combined with a logical 'AND'. +""" +input darunrs_near_social_feed_test_sys_metadata_bool_exp { + _and: [darunrs_near_social_feed_test_sys_metadata_bool_exp!] + _not: darunrs_near_social_feed_test_sys_metadata_bool_exp + _or: [darunrs_near_social_feed_test_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +"""aggregate max on columns""" +type darunrs_near_social_feed_test_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type darunrs_near_social_feed_test_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +Ordering options when selecting data from "darunrs_near_social_feed_test.sys_metadata". +""" +input darunrs_near_social_feed_test_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +select columns of table "darunrs_near_social_feed_test.sys_metadata" +""" +enum darunrs_near_social_feed_test_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +Streaming cursor of the table "darunrs_near_social_feed_test_sys_metadata" +""" +input darunrs_near_social_feed_test_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_social_feed_test_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_social_feed_test_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +columns and relationships of "darunrs_near_test_fork.indexer_storage" +""" +type darunrs_near_test_fork_indexer_storage { + function_name: String! + key_name: String! + value: String! +} + +""" +aggregated selection of "darunrs_near_test_fork.indexer_storage" +""" +type darunrs_near_test_fork_indexer_storage_aggregate { + aggregate: darunrs_near_test_fork_indexer_storage_aggregate_fields + nodes: [darunrs_near_test_fork_indexer_storage!]! +} + +""" +aggregate fields of "darunrs_near_test_fork.indexer_storage" +""" +type darunrs_near_test_fork_indexer_storage_aggregate_fields { + count(columns: [darunrs_near_test_fork_indexer_storage_select_column!], distinct: Boolean): Int! + max: darunrs_near_test_fork_indexer_storage_max_fields + min: darunrs_near_test_fork_indexer_storage_min_fields +} + +""" +Boolean expression to filter rows from the table "darunrs_near_test_fork.indexer_storage". All fields are combined with a logical 'AND'. +""" +input darunrs_near_test_fork_indexer_storage_bool_exp { + _and: [darunrs_near_test_fork_indexer_storage_bool_exp!] + _not: darunrs_near_test_fork_indexer_storage_bool_exp + _or: [darunrs_near_test_fork_indexer_storage_bool_exp!] + function_name: String_comparison_exp + key_name: String_comparison_exp + value: String_comparison_exp +} + +""" +unique or primary key constraints on table "darunrs_near_test_fork.indexer_storage" +""" +enum darunrs_near_test_fork_indexer_storage_constraint { + """ + unique or primary key constraint on columns "function_name", "key_name" + """ + indexer_storage_pkey +} + +""" +input type for inserting data into table "darunrs_near_test_fork.indexer_storage" +""" +input darunrs_near_test_fork_indexer_storage_insert_input { + function_name: String + key_name: String + value: String +} + +"""aggregate max on columns""" +type darunrs_near_test_fork_indexer_storage_max_fields { + function_name: String + key_name: String + value: String +} + +"""aggregate min on columns""" +type darunrs_near_test_fork_indexer_storage_min_fields { + function_name: String + key_name: String + value: String +} + +""" +response of any mutation on the table "darunrs_near_test_fork.indexer_storage" +""" +type darunrs_near_test_fork_indexer_storage_mutation_response { + """number of rows affected by the mutation""" + affected_rows: Int! + + """data from the rows affected by the mutation""" + returning: [darunrs_near_test_fork_indexer_storage!]! +} + +""" +on_conflict condition type for table "darunrs_near_test_fork.indexer_storage" +""" +input darunrs_near_test_fork_indexer_storage_on_conflict { + constraint: darunrs_near_test_fork_indexer_storage_constraint! + update_columns: [darunrs_near_test_fork_indexer_storage_update_column!]! = [] + where: darunrs_near_test_fork_indexer_storage_bool_exp +} + +""" +Ordering options when selecting data from "darunrs_near_test_fork.indexer_storage". +""" +input darunrs_near_test_fork_indexer_storage_order_by { + function_name: order_by + key_name: order_by + value: order_by +} + +""" +primary key columns input for table: darunrs_near_test_fork.indexer_storage +""" +input darunrs_near_test_fork_indexer_storage_pk_columns_input { + function_name: String! + key_name: String! +} + +""" +select columns of table "darunrs_near_test_fork.indexer_storage" +""" +enum darunrs_near_test_fork_indexer_storage_select_column { + """column name""" + function_name + + """column name""" + key_name + + """column name""" + value +} + +""" +input type for updating data in table "darunrs_near_test_fork.indexer_storage" +""" +input darunrs_near_test_fork_indexer_storage_set_input { + function_name: String + key_name: String + value: String +} + +""" +Streaming cursor of the table "darunrs_near_test_fork_indexer_storage" +""" +input darunrs_near_test_fork_indexer_storage_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_test_fork_indexer_storage_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_test_fork_indexer_storage_stream_cursor_value_input { + function_name: String + key_name: String + value: String +} + +""" +update columns of table "darunrs_near_test_fork.indexer_storage" +""" +enum darunrs_near_test_fork_indexer_storage_update_column { + """column name""" + function_name + + """column name""" + key_name + + """column name""" + value +} + +input darunrs_near_test_fork_indexer_storage_updates { + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_indexer_storage_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_test_fork_indexer_storage_bool_exp! +} + +""" +columns and relationships of "darunrs_near_test_fork.sys_logs" +""" +type darunrs_near_test_fork_sys_logs { + block_height: numeric + date: date! + id: bigint! + level: String! + message: String! + timestamp: timestamp! + type: String! +} + +""" +aggregated selection of "darunrs_near_test_fork.sys_logs" +""" +type darunrs_near_test_fork_sys_logs_aggregate { + aggregate: darunrs_near_test_fork_sys_logs_aggregate_fields + nodes: [darunrs_near_test_fork_sys_logs!]! +} + +""" +aggregate fields of "darunrs_near_test_fork.sys_logs" +""" +type darunrs_near_test_fork_sys_logs_aggregate_fields { + avg: darunrs_near_test_fork_sys_logs_avg_fields + count(columns: [darunrs_near_test_fork_sys_logs_select_column!], distinct: Boolean): Int! + max: darunrs_near_test_fork_sys_logs_max_fields + min: darunrs_near_test_fork_sys_logs_min_fields + stddev: darunrs_near_test_fork_sys_logs_stddev_fields + stddev_pop: darunrs_near_test_fork_sys_logs_stddev_pop_fields + stddev_samp: darunrs_near_test_fork_sys_logs_stddev_samp_fields + sum: darunrs_near_test_fork_sys_logs_sum_fields + var_pop: darunrs_near_test_fork_sys_logs_var_pop_fields + var_samp: darunrs_near_test_fork_sys_logs_var_samp_fields + variance: darunrs_near_test_fork_sys_logs_variance_fields +} + +"""aggregate avg on columns""" +type darunrs_near_test_fork_sys_logs_avg_fields { + block_height: Float + id: Float +} + +""" +Boolean expression to filter rows from the table "darunrs_near_test_fork.sys_logs". All fields are combined with a logical 'AND'. +""" +input darunrs_near_test_fork_sys_logs_bool_exp { + _and: [darunrs_near_test_fork_sys_logs_bool_exp!] + _not: darunrs_near_test_fork_sys_logs_bool_exp + _or: [darunrs_near_test_fork_sys_logs_bool_exp!] + block_height: numeric_comparison_exp + date: date_comparison_exp + id: bigint_comparison_exp + level: String_comparison_exp + message: String_comparison_exp + timestamp: timestamp_comparison_exp + type: String_comparison_exp +} + +""" +unique or primary key constraints on table "darunrs_near_test_fork.sys_logs" +""" +enum darunrs_near_test_fork_sys_logs_constraint { + """ + unique or primary key constraint on columns "id", "date" + """ + sys_logs_pkey +} + +""" +input type for incrementing numeric columns in table "darunrs_near_test_fork.sys_logs" +""" +input darunrs_near_test_fork_sys_logs_inc_input { + block_height: numeric + id: bigint +} + +""" +input type for inserting data into table "darunrs_near_test_fork.sys_logs" +""" +input darunrs_near_test_fork_sys_logs_insert_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate max on columns""" +type darunrs_near_test_fork_sys_logs_max_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate min on columns""" +type darunrs_near_test_fork_sys_logs_min_fields { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +""" +response of any mutation on the table "darunrs_near_test_fork.sys_logs" +""" +type darunrs_near_test_fork_sys_logs_mutation_response { + """number of rows affected by the mutation""" + affected_rows: Int! + + """data from the rows affected by the mutation""" + returning: [darunrs_near_test_fork_sys_logs!]! +} + +""" +on_conflict condition type for table "darunrs_near_test_fork.sys_logs" +""" +input darunrs_near_test_fork_sys_logs_on_conflict { + constraint: darunrs_near_test_fork_sys_logs_constraint! + update_columns: [darunrs_near_test_fork_sys_logs_update_column!]! = [] + where: darunrs_near_test_fork_sys_logs_bool_exp +} + +""" +Ordering options when selecting data from "darunrs_near_test_fork.sys_logs". +""" +input darunrs_near_test_fork_sys_logs_order_by { + block_height: order_by + date: order_by + id: order_by + level: order_by + message: order_by + timestamp: order_by + type: order_by +} + +"""primary key columns input for table: darunrs_near_test_fork.sys_logs""" +input darunrs_near_test_fork_sys_logs_pk_columns_input { + date: date! + id: bigint! +} + +""" +select columns of table "darunrs_near_test_fork.sys_logs" +""" +enum darunrs_near_test_fork_sys_logs_select_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +""" +input type for updating data in table "darunrs_near_test_fork.sys_logs" +""" +input darunrs_near_test_fork_sys_logs_set_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate stddev on columns""" +type darunrs_near_test_fork_sys_logs_stddev_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_pop on columns""" +type darunrs_near_test_fork_sys_logs_stddev_pop_fields { + block_height: Float + id: Float +} + +"""aggregate stddev_samp on columns""" +type darunrs_near_test_fork_sys_logs_stddev_samp_fields { + block_height: Float + id: Float +} + +""" +Streaming cursor of the table "darunrs_near_test_fork_sys_logs" +""" +input darunrs_near_test_fork_sys_logs_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_test_fork_sys_logs_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_test_fork_sys_logs_stream_cursor_value_input { + block_height: numeric + date: date + id: bigint + level: String + message: String + timestamp: timestamp + type: String +} + +"""aggregate sum on columns""" +type darunrs_near_test_fork_sys_logs_sum_fields { + block_height: numeric + id: bigint +} + +""" +update columns of table "darunrs_near_test_fork.sys_logs" +""" +enum darunrs_near_test_fork_sys_logs_update_column { + """column name""" + block_height + + """column name""" + date + + """column name""" + id + + """column name""" + level + + """column name""" + message + + """column name""" + timestamp + + """column name""" + type +} + +input darunrs_near_test_fork_sys_logs_updates { + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_test_fork_sys_logs_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_sys_logs_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_test_fork_sys_logs_bool_exp! +} + +"""aggregate var_pop on columns""" +type darunrs_near_test_fork_sys_logs_var_pop_fields { + block_height: Float + id: Float +} + +"""aggregate var_samp on columns""" +type darunrs_near_test_fork_sys_logs_var_samp_fields { + block_height: Float + id: Float +} + +"""aggregate variance on columns""" +type darunrs_near_test_fork_sys_logs_variance_fields { + block_height: Float + id: Float +} + +""" +columns and relationships of "darunrs_near_test_fork.sys_metadata" +""" +type darunrs_near_test_fork_sys_metadata { + attribute: String! + value: String! +} + +""" +aggregated selection of "darunrs_near_test_fork.sys_metadata" +""" +type darunrs_near_test_fork_sys_metadata_aggregate { + aggregate: darunrs_near_test_fork_sys_metadata_aggregate_fields + nodes: [darunrs_near_test_fork_sys_metadata!]! +} + +""" +aggregate fields of "darunrs_near_test_fork.sys_metadata" +""" +type darunrs_near_test_fork_sys_metadata_aggregate_fields { + count(columns: [darunrs_near_test_fork_sys_metadata_select_column!], distinct: Boolean): Int! + max: darunrs_near_test_fork_sys_metadata_max_fields + min: darunrs_near_test_fork_sys_metadata_min_fields +} + +""" +Boolean expression to filter rows from the table "darunrs_near_test_fork.sys_metadata". All fields are combined with a logical 'AND'. +""" +input darunrs_near_test_fork_sys_metadata_bool_exp { + _and: [darunrs_near_test_fork_sys_metadata_bool_exp!] + _not: darunrs_near_test_fork_sys_metadata_bool_exp + _or: [darunrs_near_test_fork_sys_metadata_bool_exp!] + attribute: String_comparison_exp + value: String_comparison_exp +} + +""" +unique or primary key constraints on table "darunrs_near_test_fork.sys_metadata" +""" +enum darunrs_near_test_fork_sys_metadata_constraint { + """ + unique or primary key constraint on columns "attribute" + """ + sys_metadata_pkey +} + +""" +input type for inserting data into table "darunrs_near_test_fork.sys_metadata" +""" +input darunrs_near_test_fork_sys_metadata_insert_input { + attribute: String + value: String +} + +"""aggregate max on columns""" +type darunrs_near_test_fork_sys_metadata_max_fields { + attribute: String + value: String +} + +"""aggregate min on columns""" +type darunrs_near_test_fork_sys_metadata_min_fields { + attribute: String + value: String +} + +""" +response of any mutation on the table "darunrs_near_test_fork.sys_metadata" +""" +type darunrs_near_test_fork_sys_metadata_mutation_response { + """number of rows affected by the mutation""" + affected_rows: Int! + + """data from the rows affected by the mutation""" + returning: [darunrs_near_test_fork_sys_metadata!]! +} + +""" +on_conflict condition type for table "darunrs_near_test_fork.sys_metadata" +""" +input darunrs_near_test_fork_sys_metadata_on_conflict { + constraint: darunrs_near_test_fork_sys_metadata_constraint! + update_columns: [darunrs_near_test_fork_sys_metadata_update_column!]! = [] + where: darunrs_near_test_fork_sys_metadata_bool_exp +} + +""" +Ordering options when selecting data from "darunrs_near_test_fork.sys_metadata". +""" +input darunrs_near_test_fork_sys_metadata_order_by { + attribute: order_by + value: order_by +} + +""" +primary key columns input for table: darunrs_near_test_fork.sys_metadata +""" +input darunrs_near_test_fork_sys_metadata_pk_columns_input { + attribute: String! +} + +""" +select columns of table "darunrs_near_test_fork.sys_metadata" +""" +enum darunrs_near_test_fork_sys_metadata_select_column { + """column name""" + attribute + + """column name""" + value +} + +""" +input type for updating data in table "darunrs_near_test_fork.sys_metadata" +""" +input darunrs_near_test_fork_sys_metadata_set_input { + attribute: String + value: String +} + +""" +Streaming cursor of the table "darunrs_near_test_fork_sys_metadata" +""" +input darunrs_near_test_fork_sys_metadata_stream_cursor_input { + """Stream column input with initial value""" + initial_value: darunrs_near_test_fork_sys_metadata_stream_cursor_value_input! + + """cursor ordering""" + ordering: cursor_ordering +} + +"""Initial value of the column from where the streaming should start""" +input darunrs_near_test_fork_sys_metadata_stream_cursor_value_input { + attribute: String + value: String +} + +""" +update columns of table "darunrs_near_test_fork.sys_metadata" +""" +enum darunrs_near_test_fork_sys_metadata_update_column { + """column name""" + attribute + + """column name""" + value +} + +input darunrs_near_test_fork_sys_metadata_updates { + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_sys_metadata_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_test_fork_sys_metadata_bool_exp! +} + +scalar date + +""" +Boolean expression to compare columns of type "date". All fields are combined with logical 'AND'. +""" +input date_comparison_exp { + _eq: date + _gt: date + _gte: date + _in: [date!] + _is_null: Boolean + _lt: date + _lte: date + _neq: date + _nin: [date!] +} + +scalar jsonb + +input jsonb_cast_exp { + String: String_comparison_exp +} + +""" +Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. +""" +input jsonb_comparison_exp { + _cast: jsonb_cast_exp + + """is the column contained in the given json value""" + _contained_in: jsonb + + """does the column contain the given json value at the top level""" + _contains: jsonb + _eq: jsonb + _gt: jsonb + _gte: jsonb + + """does the string exist as a top-level key in the column""" + _has_key: String + + """do all of these strings exist as top-level keys in the column""" + _has_keys_all: [String!] + + """do any of these strings exist as top-level keys in the column""" + _has_keys_any: [String!] + _in: [jsonb!] + _is_null: Boolean + _lt: jsonb + _lte: jsonb + _neq: jsonb + _nin: [jsonb!] +} + +"""mutation root""" +type mutation_root { + """ + delete data from the table: "darunrs_near_bitmap_v3.actions_index" + """ + delete_darunrs_near_bitmap_v3_actions_index( + """filter the rows which have to be deleted""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp! + ): darunrs_near_bitmap_v3_actions_index_mutation_response + + """ + delete single row from the table: "darunrs_near_bitmap_v3.actions_index" + """ + delete_darunrs_near_bitmap_v3_actions_index_by_pk(block_date: String!, receiver_id: String!): darunrs_near_bitmap_v3_actions_index + + """ + delete data from the table: "darunrs_near_bitmap_v3.sys_logs" + """ + delete_darunrs_near_bitmap_v3_sys_logs( + """filter the rows which have to be deleted""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp! + ): darunrs_near_bitmap_v3_sys_logs_mutation_response + + """ + delete single row from the table: "darunrs_near_bitmap_v3.sys_logs" + """ + delete_darunrs_near_bitmap_v3_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v3_sys_logs + + """ + delete data from the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + delete_darunrs_near_bitmap_v3_sys_metadata( + """filter the rows which have to be deleted""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp! + ): darunrs_near_bitmap_v3_sys_metadata_mutation_response + + """ + delete single row from the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + delete_darunrs_near_bitmap_v3_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v3_sys_metadata + + """ + delete data from the table: "darunrs_near_test_fork.indexer_storage" + """ + delete_darunrs_near_test_fork_indexer_storage( + """filter the rows which have to be deleted""" + where: darunrs_near_test_fork_indexer_storage_bool_exp! + ): darunrs_near_test_fork_indexer_storage_mutation_response + + """ + delete single row from the table: "darunrs_near_test_fork.indexer_storage" + """ + delete_darunrs_near_test_fork_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_test_fork_indexer_storage + + """ + delete data from the table: "darunrs_near_test_fork.sys_logs" + """ + delete_darunrs_near_test_fork_sys_logs( + """filter the rows which have to be deleted""" + where: darunrs_near_test_fork_sys_logs_bool_exp! + ): darunrs_near_test_fork_sys_logs_mutation_response + + """ + delete single row from the table: "darunrs_near_test_fork.sys_logs" + """ + delete_darunrs_near_test_fork_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_test_fork_sys_logs + + """ + delete data from the table: "darunrs_near_test_fork.sys_metadata" + """ + delete_darunrs_near_test_fork_sys_metadata( + """filter the rows which have to be deleted""" + where: darunrs_near_test_fork_sys_metadata_bool_exp! + ): darunrs_near_test_fork_sys_metadata_mutation_response + + """ + delete single row from the table: "darunrs_near_test_fork.sys_metadata" + """ + delete_darunrs_near_test_fork_sys_metadata_by_pk(attribute: String!): darunrs_near_test_fork_sys_metadata + + """ + insert data into the table: "darunrs_near_bitmap_v3.actions_index" + """ + insert_darunrs_near_bitmap_v3_actions_index( + """the rows to be inserted""" + objects: [darunrs_near_bitmap_v3_actions_index_insert_input!]! + + """upsert condition""" + on_conflict: darunrs_near_bitmap_v3_actions_index_on_conflict + ): darunrs_near_bitmap_v3_actions_index_mutation_response + + """ + insert a single row into the table: "darunrs_near_bitmap_v3.actions_index" + """ + insert_darunrs_near_bitmap_v3_actions_index_one( + """the row to be inserted""" + object: darunrs_near_bitmap_v3_actions_index_insert_input! + + """upsert condition""" + on_conflict: darunrs_near_bitmap_v3_actions_index_on_conflict + ): darunrs_near_bitmap_v3_actions_index + + """ + insert data into the table: "darunrs_near_bitmap_v3.sys_logs" + """ + insert_darunrs_near_bitmap_v3_sys_logs( + """the rows to be inserted""" + objects: [darunrs_near_bitmap_v3_sys_logs_insert_input!]! + + """upsert condition""" + on_conflict: darunrs_near_bitmap_v3_sys_logs_on_conflict + ): darunrs_near_bitmap_v3_sys_logs_mutation_response + + """ + insert a single row into the table: "darunrs_near_bitmap_v3.sys_logs" + """ + insert_darunrs_near_bitmap_v3_sys_logs_one( + """the row to be inserted""" + object: darunrs_near_bitmap_v3_sys_logs_insert_input! + + """upsert condition""" + on_conflict: darunrs_near_bitmap_v3_sys_logs_on_conflict + ): darunrs_near_bitmap_v3_sys_logs + + """ + insert data into the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + insert_darunrs_near_bitmap_v3_sys_metadata( + """the rows to be inserted""" + objects: [darunrs_near_bitmap_v3_sys_metadata_insert_input!]! + + """upsert condition""" + on_conflict: darunrs_near_bitmap_v3_sys_metadata_on_conflict + ): darunrs_near_bitmap_v3_sys_metadata_mutation_response + + """ + insert a single row into the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + insert_darunrs_near_bitmap_v3_sys_metadata_one( + """the row to be inserted""" + object: darunrs_near_bitmap_v3_sys_metadata_insert_input! + + """upsert condition""" + on_conflict: darunrs_near_bitmap_v3_sys_metadata_on_conflict + ): darunrs_near_bitmap_v3_sys_metadata + + """ + insert data into the table: "darunrs_near_test_fork.indexer_storage" + """ + insert_darunrs_near_test_fork_indexer_storage( + """the rows to be inserted""" + objects: [darunrs_near_test_fork_indexer_storage_insert_input!]! + + """upsert condition""" + on_conflict: darunrs_near_test_fork_indexer_storage_on_conflict + ): darunrs_near_test_fork_indexer_storage_mutation_response + + """ + insert a single row into the table: "darunrs_near_test_fork.indexer_storage" + """ + insert_darunrs_near_test_fork_indexer_storage_one( + """the row to be inserted""" + object: darunrs_near_test_fork_indexer_storage_insert_input! + + """upsert condition""" + on_conflict: darunrs_near_test_fork_indexer_storage_on_conflict + ): darunrs_near_test_fork_indexer_storage + + """ + insert data into the table: "darunrs_near_test_fork.sys_logs" + """ + insert_darunrs_near_test_fork_sys_logs( + """the rows to be inserted""" + objects: [darunrs_near_test_fork_sys_logs_insert_input!]! + + """upsert condition""" + on_conflict: darunrs_near_test_fork_sys_logs_on_conflict + ): darunrs_near_test_fork_sys_logs_mutation_response + + """ + insert a single row into the table: "darunrs_near_test_fork.sys_logs" + """ + insert_darunrs_near_test_fork_sys_logs_one( + """the row to be inserted""" + object: darunrs_near_test_fork_sys_logs_insert_input! + + """upsert condition""" + on_conflict: darunrs_near_test_fork_sys_logs_on_conflict + ): darunrs_near_test_fork_sys_logs + + """ + insert data into the table: "darunrs_near_test_fork.sys_metadata" + """ + insert_darunrs_near_test_fork_sys_metadata( + """the rows to be inserted""" + objects: [darunrs_near_test_fork_sys_metadata_insert_input!]! + + """upsert condition""" + on_conflict: darunrs_near_test_fork_sys_metadata_on_conflict + ): darunrs_near_test_fork_sys_metadata_mutation_response + + """ + insert a single row into the table: "darunrs_near_test_fork.sys_metadata" + """ + insert_darunrs_near_test_fork_sys_metadata_one( + """the row to be inserted""" + object: darunrs_near_test_fork_sys_metadata_insert_input! + + """upsert condition""" + on_conflict: darunrs_near_test_fork_sys_metadata_on_conflict + ): darunrs_near_test_fork_sys_metadata + + """ + update data of the table: "darunrs_near_bitmap_v3.actions_index" + """ + update_darunrs_near_bitmap_v3_actions_index( + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_bitmap_v3_actions_index_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_actions_index_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp! + ): darunrs_near_bitmap_v3_actions_index_mutation_response + + """ + update single row of the table: "darunrs_near_bitmap_v3.actions_index" + """ + update_darunrs_near_bitmap_v3_actions_index_by_pk( + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_bitmap_v3_actions_index_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_actions_index_set_input + pk_columns: darunrs_near_bitmap_v3_actions_index_pk_columns_input! + ): darunrs_near_bitmap_v3_actions_index + + """ + update multiples rows of table: "darunrs_near_bitmap_v3.actions_index" + """ + update_darunrs_near_bitmap_v3_actions_index_many( + """updates to execute, in order""" + updates: [darunrs_near_bitmap_v3_actions_index_updates!]! + ): [darunrs_near_bitmap_v3_actions_index_mutation_response] + + """ + update data of the table: "darunrs_near_bitmap_v3.sys_logs" + """ + update_darunrs_near_bitmap_v3_sys_logs( + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_bitmap_v3_sys_logs_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_sys_logs_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp! + ): darunrs_near_bitmap_v3_sys_logs_mutation_response + + """ + update single row of the table: "darunrs_near_bitmap_v3.sys_logs" + """ + update_darunrs_near_bitmap_v3_sys_logs_by_pk( + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_bitmap_v3_sys_logs_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_sys_logs_set_input + pk_columns: darunrs_near_bitmap_v3_sys_logs_pk_columns_input! + ): darunrs_near_bitmap_v3_sys_logs + + """ + update multiples rows of table: "darunrs_near_bitmap_v3.sys_logs" + """ + update_darunrs_near_bitmap_v3_sys_logs_many( + """updates to execute, in order""" + updates: [darunrs_near_bitmap_v3_sys_logs_updates!]! + ): [darunrs_near_bitmap_v3_sys_logs_mutation_response] + + """ + update data of the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + update_darunrs_near_bitmap_v3_sys_metadata( + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_sys_metadata_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp! + ): darunrs_near_bitmap_v3_sys_metadata_mutation_response + + """ + update single row of the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + update_darunrs_near_bitmap_v3_sys_metadata_by_pk( + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_bitmap_v3_sys_metadata_set_input + pk_columns: darunrs_near_bitmap_v3_sys_metadata_pk_columns_input! + ): darunrs_near_bitmap_v3_sys_metadata + + """ + update multiples rows of table: "darunrs_near_bitmap_v3.sys_metadata" + """ + update_darunrs_near_bitmap_v3_sys_metadata_many( + """updates to execute, in order""" + updates: [darunrs_near_bitmap_v3_sys_metadata_updates!]! + ): [darunrs_near_bitmap_v3_sys_metadata_mutation_response] + + """ + update data of the table: "darunrs_near_test_fork.indexer_storage" + """ + update_darunrs_near_test_fork_indexer_storage( + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_indexer_storage_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_test_fork_indexer_storage_bool_exp! + ): darunrs_near_test_fork_indexer_storage_mutation_response + + """ + update single row of the table: "darunrs_near_test_fork.indexer_storage" + """ + update_darunrs_near_test_fork_indexer_storage_by_pk( + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_indexer_storage_set_input + pk_columns: darunrs_near_test_fork_indexer_storage_pk_columns_input! + ): darunrs_near_test_fork_indexer_storage + + """ + update multiples rows of table: "darunrs_near_test_fork.indexer_storage" + """ + update_darunrs_near_test_fork_indexer_storage_many( + """updates to execute, in order""" + updates: [darunrs_near_test_fork_indexer_storage_updates!]! + ): [darunrs_near_test_fork_indexer_storage_mutation_response] + + """ + update data of the table: "darunrs_near_test_fork.sys_logs" + """ + update_darunrs_near_test_fork_sys_logs( + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_test_fork_sys_logs_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_sys_logs_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_test_fork_sys_logs_bool_exp! + ): darunrs_near_test_fork_sys_logs_mutation_response + + """ + update single row of the table: "darunrs_near_test_fork.sys_logs" + """ + update_darunrs_near_test_fork_sys_logs_by_pk( + """increments the numeric columns with given value of the filtered values""" + _inc: darunrs_near_test_fork_sys_logs_inc_input + + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_sys_logs_set_input + pk_columns: darunrs_near_test_fork_sys_logs_pk_columns_input! + ): darunrs_near_test_fork_sys_logs + + """ + update multiples rows of table: "darunrs_near_test_fork.sys_logs" + """ + update_darunrs_near_test_fork_sys_logs_many( + """updates to execute, in order""" + updates: [darunrs_near_test_fork_sys_logs_updates!]! + ): [darunrs_near_test_fork_sys_logs_mutation_response] + + """ + update data of the table: "darunrs_near_test_fork.sys_metadata" + """ + update_darunrs_near_test_fork_sys_metadata( + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_sys_metadata_set_input + + """filter the rows which have to be updated""" + where: darunrs_near_test_fork_sys_metadata_bool_exp! + ): darunrs_near_test_fork_sys_metadata_mutation_response + + """ + update single row of the table: "darunrs_near_test_fork.sys_metadata" + """ + update_darunrs_near_test_fork_sys_metadata_by_pk( + """sets the columns of the filtered rows to the given values""" + _set: darunrs_near_test_fork_sys_metadata_set_input + pk_columns: darunrs_near_test_fork_sys_metadata_pk_columns_input! + ): darunrs_near_test_fork_sys_metadata + + """ + update multiples rows of table: "darunrs_near_test_fork.sys_metadata" + """ + update_darunrs_near_test_fork_sys_metadata_many( + """updates to execute, in order""" + updates: [darunrs_near_test_fork_sys_metadata_updates!]! + ): [darunrs_near_test_fork_sys_metadata_mutation_response] +} + +scalar numeric + +""" +Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. +""" +input numeric_comparison_exp { + _eq: numeric + _gt: numeric + _gte: numeric + _in: [numeric!] + _is_null: Boolean + _lt: numeric + _lte: numeric + _neq: numeric + _nin: [numeric!] +} + +"""column ordering options""" +enum order_by { + """in ascending order, nulls last""" + asc + + """in ascending order, nulls first""" + asc_nulls_first + + """in ascending order, nulls last""" + asc_nulls_last + + """in descending order, nulls first""" + desc + + """in descending order, nulls first""" + desc_nulls_first + + """in descending order, nulls last""" + desc_nulls_last +} + +type query_root { + """ + fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" + """ + darunrs_near_benchmark_indexer_indexer_storage( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp + ): [darunrs_near_benchmark_indexer_indexer_storage!]! + + """ + fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.indexer_storage" + """ + darunrs_near_benchmark_indexer_indexer_storage_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp + ): darunrs_near_benchmark_indexer_indexer_storage_aggregate! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" using primary key columns + """ + darunrs_near_benchmark_indexer_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_benchmark_indexer_indexer_storage + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" + """ + darunrs_near_benchmark_indexer_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_logs_bool_exp + ): [darunrs_near_benchmark_indexer_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_logs" + """ + darunrs_near_benchmark_indexer_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_logs_bool_exp + ): darunrs_near_benchmark_indexer_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" using primary key columns + """ + darunrs_near_benchmark_indexer_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_benchmark_indexer_sys_logs + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" + """ + darunrs_near_benchmark_indexer_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp + ): [darunrs_near_benchmark_indexer_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_metadata" + """ + darunrs_near_benchmark_indexer_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp + ): darunrs_near_benchmark_indexer_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" using primary key columns + """ + darunrs_near_benchmark_indexer_sys_metadata_by_pk(attribute: String!): darunrs_near_benchmark_indexer_sys_metadata + + """ + fetch data from the table: "darunrs_near_bitmap_v3.actions_index" + """ + darunrs_near_bitmap_v3_actions_index( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp + ): [darunrs_near_bitmap_v3_actions_index!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v3.actions_index" + """ + darunrs_near_bitmap_v3_actions_index_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp + ): darunrs_near_bitmap_v3_actions_index_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.actions_index" using primary key columns + """ + darunrs_near_bitmap_v3_actions_index_by_pk(block_date: String!, receiver_id: String!): darunrs_near_bitmap_v3_actions_index + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" + """ + darunrs_near_bitmap_v3_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp + ): [darunrs_near_bitmap_v3_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_logs" + """ + darunrs_near_bitmap_v3_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp + ): darunrs_near_bitmap_v3_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" using primary key columns + """ + darunrs_near_bitmap_v3_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v3_sys_logs + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + darunrs_near_bitmap_v3_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp + ): [darunrs_near_bitmap_v3_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + darunrs_near_bitmap_v3_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp + ): darunrs_near_bitmap_v3_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" using primary key columns + """ + darunrs_near_bitmap_v3_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v3_sys_metadata + + """ + fetch data from the table: "darunrs_near_bitmap_v5.actions_index" + """ + darunrs_near_bitmap_v5_actions_index( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_actions_index_bool_exp + ): [darunrs_near_bitmap_v5_actions_index!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.actions_index" + """ + darunrs_near_bitmap_v5_actions_index_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_actions_index_bool_exp + ): darunrs_near_bitmap_v5_actions_index_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.actions_index" using primary key columns + """ + darunrs_near_bitmap_v5_actions_index_by_pk(block_date: date!, receiver_id: bigint!): darunrs_near_bitmap_v5_actions_index + + """ + fetch data from the table: "darunrs_near_bitmap_v5.receivers" + """ + darunrs_near_bitmap_v5_receivers( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_receivers_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_receivers_bool_exp + ): [darunrs_near_bitmap_v5_receivers!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.receivers" + """ + darunrs_near_bitmap_v5_receivers_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_receivers_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_receivers_bool_exp + ): darunrs_near_bitmap_v5_receivers_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.receivers" using primary key columns + """ + darunrs_near_bitmap_v5_receivers_by_pk(id: bigint!): darunrs_near_bitmap_v5_receivers + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" + """ + darunrs_near_bitmap_v5_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_logs_bool_exp + ): [darunrs_near_bitmap_v5_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_logs" + """ + darunrs_near_bitmap_v5_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_logs_bool_exp + ): darunrs_near_bitmap_v5_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" using primary key columns + """ + darunrs_near_bitmap_v5_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v5_sys_logs + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" + """ + darunrs_near_bitmap_v5_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_metadata_bool_exp + ): [darunrs_near_bitmap_v5_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_metadata" + """ + darunrs_near_bitmap_v5_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_metadata_bool_exp + ): darunrs_near_bitmap_v5_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" using primary key columns + """ + darunrs_near_bitmap_v5_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v5_sys_metadata + + """ + fetch data from the table: "darunrs_near_social_feed_test.comments" + """ + darunrs_near_social_feed_test_comments( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_comments_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_comments_bool_exp + ): [darunrs_near_social_feed_test_comments!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.comments" + """ + darunrs_near_social_feed_test_comments_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_comments_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_comments_bool_exp + ): darunrs_near_social_feed_test_comments_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.comments" using primary key columns + """ + darunrs_near_social_feed_test_comments_by_pk(id: Int!): darunrs_near_social_feed_test_comments + + """ + fetch data from the table: "darunrs_near_social_feed_test.post_likes" + """ + darunrs_near_social_feed_test_post_likes( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_post_likes_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_post_likes_bool_exp + ): [darunrs_near_social_feed_test_post_likes!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.post_likes" + """ + darunrs_near_social_feed_test_post_likes_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_post_likes_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_post_likes_bool_exp + ): darunrs_near_social_feed_test_post_likes_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.post_likes" using primary key columns + """ + darunrs_near_social_feed_test_post_likes_by_pk(account_id: String!, post_id: Int!): darunrs_near_social_feed_test_post_likes + + """ + fetch data from the table: "darunrs_near_social_feed_test.posts" + """ + darunrs_near_social_feed_test_posts( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_posts_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_posts_bool_exp + ): [darunrs_near_social_feed_test_posts!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.posts" + """ + darunrs_near_social_feed_test_posts_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_posts_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_posts_bool_exp + ): darunrs_near_social_feed_test_posts_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.posts" using primary key columns + """ + darunrs_near_social_feed_test_posts_by_pk(id: Int!): darunrs_near_social_feed_test_posts + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_logs" + """ + darunrs_near_social_feed_test_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_logs_bool_exp + ): [darunrs_near_social_feed_test_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_logs" + """ + darunrs_near_social_feed_test_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_logs_bool_exp + ): darunrs_near_social_feed_test_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_logs" using primary key columns + """ + darunrs_near_social_feed_test_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_social_feed_test_sys_logs + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" + """ + darunrs_near_social_feed_test_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_metadata_bool_exp + ): [darunrs_near_social_feed_test_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_metadata" + """ + darunrs_near_social_feed_test_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_metadata_bool_exp + ): darunrs_near_social_feed_test_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" using primary key columns + """ + darunrs_near_social_feed_test_sys_metadata_by_pk(attribute: String!): darunrs_near_social_feed_test_sys_metadata + + """ + fetch data from the table: "darunrs_near_test_fork.indexer_storage" + """ + darunrs_near_test_fork_indexer_storage( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_indexer_storage_bool_exp + ): [darunrs_near_test_fork_indexer_storage!]! + + """ + fetch aggregated fields from the table: "darunrs_near_test_fork.indexer_storage" + """ + darunrs_near_test_fork_indexer_storage_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_indexer_storage_bool_exp + ): darunrs_near_test_fork_indexer_storage_aggregate! + + """ + fetch data from the table: "darunrs_near_test_fork.indexer_storage" using primary key columns + """ + darunrs_near_test_fork_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_test_fork_indexer_storage + + """ + fetch data from the table: "darunrs_near_test_fork.sys_logs" + """ + darunrs_near_test_fork_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_logs_bool_exp + ): [darunrs_near_test_fork_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_test_fork.sys_logs" + """ + darunrs_near_test_fork_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_logs_bool_exp + ): darunrs_near_test_fork_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_test_fork.sys_logs" using primary key columns + """ + darunrs_near_test_fork_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_test_fork_sys_logs + + """ + fetch data from the table: "darunrs_near_test_fork.sys_metadata" + """ + darunrs_near_test_fork_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_metadata_bool_exp + ): [darunrs_near_test_fork_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_test_fork.sys_metadata" + """ + darunrs_near_test_fork_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_metadata_bool_exp + ): darunrs_near_test_fork_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_test_fork.sys_metadata" using primary key columns + """ + darunrs_near_test_fork_sys_metadata_by_pk(attribute: String!): darunrs_near_test_fork_sys_metadata +} + +type subscription_root { + """ + fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" + """ + darunrs_near_benchmark_indexer_indexer_storage( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp + ): [darunrs_near_benchmark_indexer_indexer_storage!]! + + """ + fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.indexer_storage" + """ + darunrs_near_benchmark_indexer_indexer_storage_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp + ): darunrs_near_benchmark_indexer_indexer_storage_aggregate! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.indexer_storage" using primary key columns + """ + darunrs_near_benchmark_indexer_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_benchmark_indexer_indexer_storage + + """ + fetch data from the table in a streaming manner: "darunrs_near_benchmark_indexer.indexer_storage" + """ + darunrs_near_benchmark_indexer_indexer_storage_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_benchmark_indexer_indexer_storage_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_indexer_storage_bool_exp + ): [darunrs_near_benchmark_indexer_indexer_storage!]! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" + """ + darunrs_near_benchmark_indexer_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_logs_bool_exp + ): [darunrs_near_benchmark_indexer_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_logs" + """ + darunrs_near_benchmark_indexer_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_logs_bool_exp + ): darunrs_near_benchmark_indexer_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_logs" using primary key columns + """ + darunrs_near_benchmark_indexer_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_benchmark_indexer_sys_logs + + """ + fetch data from the table in a streaming manner: "darunrs_near_benchmark_indexer.sys_logs" + """ + darunrs_near_benchmark_indexer_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_benchmark_indexer_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_logs_bool_exp + ): [darunrs_near_benchmark_indexer_sys_logs!]! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" + """ + darunrs_near_benchmark_indexer_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp + ): [darunrs_near_benchmark_indexer_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_benchmark_indexer.sys_metadata" + """ + darunrs_near_benchmark_indexer_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_benchmark_indexer_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_benchmark_indexer_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp + ): darunrs_near_benchmark_indexer_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_benchmark_indexer.sys_metadata" using primary key columns + """ + darunrs_near_benchmark_indexer_sys_metadata_by_pk(attribute: String!): darunrs_near_benchmark_indexer_sys_metadata + + """ + fetch data from the table in a streaming manner: "darunrs_near_benchmark_indexer.sys_metadata" + """ + darunrs_near_benchmark_indexer_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_benchmark_indexer_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_benchmark_indexer_sys_metadata_bool_exp + ): [darunrs_near_benchmark_indexer_sys_metadata!]! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.actions_index" + """ + darunrs_near_bitmap_v3_actions_index( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp + ): [darunrs_near_bitmap_v3_actions_index!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v3.actions_index" + """ + darunrs_near_bitmap_v3_actions_index_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp + ): darunrs_near_bitmap_v3_actions_index_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.actions_index" using primary key columns + """ + darunrs_near_bitmap_v3_actions_index_by_pk(block_date: String!, receiver_id: String!): darunrs_near_bitmap_v3_actions_index + + """ + fetch data from the table in a streaming manner: "darunrs_near_bitmap_v3.actions_index" + """ + darunrs_near_bitmap_v3_actions_index_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_bitmap_v3_actions_index_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_actions_index_bool_exp + ): [darunrs_near_bitmap_v3_actions_index!]! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" + """ + darunrs_near_bitmap_v3_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp + ): [darunrs_near_bitmap_v3_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_logs" + """ + darunrs_near_bitmap_v3_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp + ): darunrs_near_bitmap_v3_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_logs" using primary key columns + """ + darunrs_near_bitmap_v3_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v3_sys_logs + + """ + fetch data from the table in a streaming manner: "darunrs_near_bitmap_v3.sys_logs" + """ + darunrs_near_bitmap_v3_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_bitmap_v3_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_logs_bool_exp + ): [darunrs_near_bitmap_v3_sys_logs!]! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + darunrs_near_bitmap_v3_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp + ): [darunrs_near_bitmap_v3_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v3.sys_metadata" + """ + darunrs_near_bitmap_v3_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v3_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v3_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp + ): darunrs_near_bitmap_v3_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v3.sys_metadata" using primary key columns + """ + darunrs_near_bitmap_v3_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v3_sys_metadata + + """ + fetch data from the table in a streaming manner: "darunrs_near_bitmap_v3.sys_metadata" + """ + darunrs_near_bitmap_v3_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_bitmap_v3_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_bitmap_v3_sys_metadata_bool_exp + ): [darunrs_near_bitmap_v3_sys_metadata!]! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.actions_index" + """ + darunrs_near_bitmap_v5_actions_index( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_actions_index_bool_exp + ): [darunrs_near_bitmap_v5_actions_index!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.actions_index" + """ + darunrs_near_bitmap_v5_actions_index_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_actions_index_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_actions_index_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_actions_index_bool_exp + ): darunrs_near_bitmap_v5_actions_index_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.actions_index" using primary key columns + """ + darunrs_near_bitmap_v5_actions_index_by_pk(block_date: date!, receiver_id: bigint!): darunrs_near_bitmap_v5_actions_index + + """ + fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.actions_index" + """ + darunrs_near_bitmap_v5_actions_index_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_bitmap_v5_actions_index_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_actions_index_bool_exp + ): [darunrs_near_bitmap_v5_actions_index!]! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.receivers" + """ + darunrs_near_bitmap_v5_receivers( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_receivers_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_receivers_bool_exp + ): [darunrs_near_bitmap_v5_receivers!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.receivers" + """ + darunrs_near_bitmap_v5_receivers_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_receivers_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_receivers_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_receivers_bool_exp + ): darunrs_near_bitmap_v5_receivers_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.receivers" using primary key columns + """ + darunrs_near_bitmap_v5_receivers_by_pk(id: bigint!): darunrs_near_bitmap_v5_receivers + + """ + fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.receivers" + """ + darunrs_near_bitmap_v5_receivers_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_bitmap_v5_receivers_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_receivers_bool_exp + ): [darunrs_near_bitmap_v5_receivers!]! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" + """ + darunrs_near_bitmap_v5_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_logs_bool_exp + ): [darunrs_near_bitmap_v5_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_logs" + """ + darunrs_near_bitmap_v5_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_logs_bool_exp + ): darunrs_near_bitmap_v5_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_logs" using primary key columns + """ + darunrs_near_bitmap_v5_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_bitmap_v5_sys_logs + + """ + fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.sys_logs" + """ + darunrs_near_bitmap_v5_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_bitmap_v5_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_logs_bool_exp + ): [darunrs_near_bitmap_v5_sys_logs!]! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" + """ + darunrs_near_bitmap_v5_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_metadata_bool_exp + ): [darunrs_near_bitmap_v5_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_bitmap_v5.sys_metadata" + """ + darunrs_near_bitmap_v5_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_bitmap_v5_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_bitmap_v5_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_metadata_bool_exp + ): darunrs_near_bitmap_v5_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_bitmap_v5.sys_metadata" using primary key columns + """ + darunrs_near_bitmap_v5_sys_metadata_by_pk(attribute: String!): darunrs_near_bitmap_v5_sys_metadata + + """ + fetch data from the table in a streaming manner: "darunrs_near_bitmap_v5.sys_metadata" + """ + darunrs_near_bitmap_v5_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_bitmap_v5_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_bitmap_v5_sys_metadata_bool_exp + ): [darunrs_near_bitmap_v5_sys_metadata!]! + + """ + fetch data from the table: "darunrs_near_social_feed_test.comments" + """ + darunrs_near_social_feed_test_comments( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_comments_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_comments_bool_exp + ): [darunrs_near_social_feed_test_comments!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.comments" + """ + darunrs_near_social_feed_test_comments_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_comments_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_comments_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_comments_bool_exp + ): darunrs_near_social_feed_test_comments_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.comments" using primary key columns + """ + darunrs_near_social_feed_test_comments_by_pk(id: Int!): darunrs_near_social_feed_test_comments + + """ + fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.comments" + """ + darunrs_near_social_feed_test_comments_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_social_feed_test_comments_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_social_feed_test_comments_bool_exp + ): [darunrs_near_social_feed_test_comments!]! + + """ + fetch data from the table: "darunrs_near_social_feed_test.post_likes" + """ + darunrs_near_social_feed_test_post_likes( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_post_likes_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_post_likes_bool_exp + ): [darunrs_near_social_feed_test_post_likes!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.post_likes" + """ + darunrs_near_social_feed_test_post_likes_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_post_likes_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_post_likes_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_post_likes_bool_exp + ): darunrs_near_social_feed_test_post_likes_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.post_likes" using primary key columns + """ + darunrs_near_social_feed_test_post_likes_by_pk(account_id: String!, post_id: Int!): darunrs_near_social_feed_test_post_likes + + """ + fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.post_likes" + """ + darunrs_near_social_feed_test_post_likes_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_social_feed_test_post_likes_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_social_feed_test_post_likes_bool_exp + ): [darunrs_near_social_feed_test_post_likes!]! + + """ + fetch data from the table: "darunrs_near_social_feed_test.posts" + """ + darunrs_near_social_feed_test_posts( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_posts_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_posts_bool_exp + ): [darunrs_near_social_feed_test_posts!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.posts" + """ + darunrs_near_social_feed_test_posts_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_posts_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_posts_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_posts_bool_exp + ): darunrs_near_social_feed_test_posts_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.posts" using primary key columns + """ + darunrs_near_social_feed_test_posts_by_pk(id: Int!): darunrs_near_social_feed_test_posts + + """ + fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.posts" + """ + darunrs_near_social_feed_test_posts_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_social_feed_test_posts_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_social_feed_test_posts_bool_exp + ): [darunrs_near_social_feed_test_posts!]! + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_logs" + """ + darunrs_near_social_feed_test_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_logs_bool_exp + ): [darunrs_near_social_feed_test_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_logs" + """ + darunrs_near_social_feed_test_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_logs_bool_exp + ): darunrs_near_social_feed_test_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_logs" using primary key columns + """ + darunrs_near_social_feed_test_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_social_feed_test_sys_logs + + """ + fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.sys_logs" + """ + darunrs_near_social_feed_test_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_social_feed_test_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_logs_bool_exp + ): [darunrs_near_social_feed_test_sys_logs!]! + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" + """ + darunrs_near_social_feed_test_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_metadata_bool_exp + ): [darunrs_near_social_feed_test_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_social_feed_test.sys_metadata" + """ + darunrs_near_social_feed_test_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_social_feed_test_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_social_feed_test_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_metadata_bool_exp + ): darunrs_near_social_feed_test_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_social_feed_test.sys_metadata" using primary key columns + """ + darunrs_near_social_feed_test_sys_metadata_by_pk(attribute: String!): darunrs_near_social_feed_test_sys_metadata + + """ + fetch data from the table in a streaming manner: "darunrs_near_social_feed_test.sys_metadata" + """ + darunrs_near_social_feed_test_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_social_feed_test_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_social_feed_test_sys_metadata_bool_exp + ): [darunrs_near_social_feed_test_sys_metadata!]! + + """ + fetch data from the table: "darunrs_near_test_fork.indexer_storage" + """ + darunrs_near_test_fork_indexer_storage( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_indexer_storage_bool_exp + ): [darunrs_near_test_fork_indexer_storage!]! + + """ + fetch aggregated fields from the table: "darunrs_near_test_fork.indexer_storage" + """ + darunrs_near_test_fork_indexer_storage_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_indexer_storage_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_indexer_storage_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_indexer_storage_bool_exp + ): darunrs_near_test_fork_indexer_storage_aggregate! + + """ + fetch data from the table: "darunrs_near_test_fork.indexer_storage" using primary key columns + """ + darunrs_near_test_fork_indexer_storage_by_pk(function_name: String!, key_name: String!): darunrs_near_test_fork_indexer_storage + + """ + fetch data from the table in a streaming manner: "darunrs_near_test_fork.indexer_storage" + """ + darunrs_near_test_fork_indexer_storage_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_test_fork_indexer_storage_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_test_fork_indexer_storage_bool_exp + ): [darunrs_near_test_fork_indexer_storage!]! + + """ + fetch data from the table: "darunrs_near_test_fork.sys_logs" + """ + darunrs_near_test_fork_sys_logs( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_logs_bool_exp + ): [darunrs_near_test_fork_sys_logs!]! + + """ + fetch aggregated fields from the table: "darunrs_near_test_fork.sys_logs" + """ + darunrs_near_test_fork_sys_logs_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_logs_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_logs_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_logs_bool_exp + ): darunrs_near_test_fork_sys_logs_aggregate! + + """ + fetch data from the table: "darunrs_near_test_fork.sys_logs" using primary key columns + """ + darunrs_near_test_fork_sys_logs_by_pk(date: date!, id: bigint!): darunrs_near_test_fork_sys_logs + + """ + fetch data from the table in a streaming manner: "darunrs_near_test_fork.sys_logs" + """ + darunrs_near_test_fork_sys_logs_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_test_fork_sys_logs_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_logs_bool_exp + ): [darunrs_near_test_fork_sys_logs!]! + + """ + fetch data from the table: "darunrs_near_test_fork.sys_metadata" + """ + darunrs_near_test_fork_sys_metadata( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_metadata_bool_exp + ): [darunrs_near_test_fork_sys_metadata!]! + + """ + fetch aggregated fields from the table: "darunrs_near_test_fork.sys_metadata" + """ + darunrs_near_test_fork_sys_metadata_aggregate( + """distinct select on columns""" + distinct_on: [darunrs_near_test_fork_sys_metadata_select_column!] + + """limit the number of rows returned""" + limit: Int + + """skip the first n rows. Use only with order_by""" + offset: Int + + """sort the rows by one or more columns""" + order_by: [darunrs_near_test_fork_sys_metadata_order_by!] + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_metadata_bool_exp + ): darunrs_near_test_fork_sys_metadata_aggregate! + + """ + fetch data from the table: "darunrs_near_test_fork.sys_metadata" using primary key columns + """ + darunrs_near_test_fork_sys_metadata_by_pk(attribute: String!): darunrs_near_test_fork_sys_metadata + + """ + fetch data from the table in a streaming manner: "darunrs_near_test_fork.sys_metadata" + """ + darunrs_near_test_fork_sys_metadata_stream( + """maximum number of rows returned in a single batch""" + batch_size: Int! + + """cursor to stream the results returned by the query""" + cursor: [darunrs_near_test_fork_sys_metadata_stream_cursor_input]! + + """filter the rows returned""" + where: darunrs_near_test_fork_sys_metadata_bool_exp + ): [darunrs_near_test_fork_sys_metadata!]! +} + +scalar timestamp + +""" +Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. +""" +input timestamp_comparison_exp { + _eq: timestamp + _gt: timestamp + _gte: timestamp + _in: [timestamp!] + _is_null: Boolean + _lt: timestamp + _lte: timestamp + _neq: timestamp + _nin: [timestamp!] +} diff --git a/block-streamer/src/graphql/client.rs b/block-streamer/src/graphql/client.rs new file mode 100644 index 000000000..ec63b7f51 --- /dev/null +++ b/block-streamer/src/graphql/client.rs @@ -0,0 +1,137 @@ +use ::reqwest; +use graphql_client::{GraphQLQuery, Response}; +use std::error::Error; + +// TODO: Use Dataplatform account +const HASURA_ACCOUNT: &str = "darunrs_near"; + +#[allow(clippy::upper_case_acronyms)] +type Date = String; + +#[derive(GraphQLQuery)] +#[graphql( + schema_path = "graphql/darunrs_near/schema.graphql", + query_path = "graphql/darunrs_near/get_bitmaps_exact.graphql", + response_derives = "Debug", + normalization = "rust" +)] +struct GetBitmapsExact; + +#[derive(GraphQLQuery)] +#[graphql( + schema_path = "graphql/darunrs_near/schema.graphql", + query_path = "graphql/darunrs_near/get_bitmaps_wildcard.graphql", + response_derives = "Debug", + normalization = "rust" +)] +struct GetBitmapsWildcard; + +pub struct GraphQLClient { + client: reqwest::Client, + graphql_endpoint: String, +} + +#[cfg_attr(test, mockall::automock)] +impl GraphQLClient { + pub fn new(graphql_endpoint: String) -> Self { + Self { + client: reqwest::Client::new(), + graphql_endpoint, + } + } + + async fn post_graphql( + &self, + variables: Q::Variables, + ) -> Result, reqwest::Error> { + let body = Q::build_query(variables); + let reqwest_response = self + .client + .post(&self.graphql_endpoint) + .header("x-hasura-role", HASURA_ACCOUNT) + .json(&body) + .send() + .await?; + + reqwest_response.json().await + } + + pub async fn get_bitmaps_exact( + &self, + receiver_ids: Vec, + block_date: String, + limit: i64, + offset: i64, + ) -> anyhow::Result> + { + self.post_graphql::(get_bitmaps_exact::Variables { + receiver_ids: Some(receiver_ids), + block_date: Some(block_date), + limit: Some(limit), + offset: Some(offset), + }) + .await? + .data + .ok_or(anyhow::anyhow!("No bitmaps were returned")) + .map(|data| data.darunrs_near_bitmap_v5_actions_index) + } + + pub async fn get_bitmaps_wildcard( + &self, + receiver_ids: String, + block_date: String, + limit: i64, + offset: i64, + ) -> anyhow::Result> + { + self.post_graphql::(get_bitmaps_wildcard::Variables { + receiver_ids: Some(receiver_ids), + block_date: Some(block_date), + limit: Some(limit), + offset: Some(offset), + }) + .await? + .data + .ok_or(anyhow::anyhow!("No bitmaps were returned")) + .map(|data| data.darunrs_near_bitmap_v5_actions_index) + } +} + +// TODO: Remove Unit tests after bitmap query is integrated into the main application +#[cfg(test)] +mod tests { + use super::*; + + const HASURA_ENDPOINT: &str = + "https://queryapi-hasura-graphql-mainnet-vcqilefdcq-ew.a.run.app/v1/graphql"; + + #[tokio::test] + async fn test_get_bitmaps_exact() { + let client = GraphQLClient::new(HASURA_ENDPOINT.to_string()); + let receiver_ids = vec!["app.nearcrowd.near".to_string()]; + let block_date = "2024-03-21".to_string(); + let limit = 10; + let offset = 0; + let response = client + .get_bitmaps_exact(receiver_ids, block_date, limit, offset) + .await + .unwrap(); + assert_eq!(response[0].first_block_height, 115130287); + } + + // This query takes several seconds + #[ignore] + #[tokio::test] + async fn test_get_bitmaps_wildcard() { + let client = GraphQLClient::new(HASURA_ENDPOINT.to_string()); + let receiver_ids = "app.nearcrowd.near".to_string(); + let block_date = "2024-03-21".to_string(); + let limit = 10; + let offset = 0; + let response = client + .get_bitmaps_wildcard(receiver_ids, block_date, limit, offset) + .await + .unwrap(); + assert_eq!(response[0].first_block_height, 115130287); + } +} diff --git a/block-streamer/src/graphql/mod.rs b/block-streamer/src/graphql/mod.rs new file mode 100644 index 000000000..b9babe5bc --- /dev/null +++ b/block-streamer/src/graphql/mod.rs @@ -0,0 +1 @@ +pub mod client; diff --git a/block-streamer/src/main.rs b/block-streamer/src/main.rs index cee1c402f..29e915823 100644 --- a/block-streamer/src/main.rs +++ b/block-streamer/src/main.rs @@ -2,6 +2,7 @@ use tracing_subscriber::prelude::*; mod block_stream; mod delta_lake_client; +mod graphql; mod indexer_config; mod lake_s3_client; mod metrics; diff --git a/coordinator/Cargo.lock b/coordinator/Cargo.lock index 1d60c76ed..7e5f2258e 100644 --- a/coordinator/Cargo.lock +++ b/coordinator/Cargo.lock @@ -369,6 +369,12 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" +[[package]] +name = "ascii" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" + [[package]] name = "assert_matches" version = "1.5.0" @@ -921,6 +927,7 @@ dependencies = [ "cached", "chrono", "futures", + "graphql_client", "lazy_static", "mockall", "near-lake-framework", @@ -928,6 +935,7 @@ dependencies = [ "prost 0.12.3", "redis 0.21.7", "registry-types", + "reqwest", "serde", "serde_json", "tokio", @@ -1218,6 +1226,19 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "combine" +version = "3.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680" +dependencies = [ + "ascii", + "byteorder", + "either", + "memchr", + "unreachable", +] + [[package]] name = "combine" version = "4.6.6" @@ -1932,6 +1953,65 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +[[package]] +name = "graphql-introspection-query" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f2a4732cf5140bd6c082434494f785a19cfb566ab07d1382c3671f5812fed6d" +dependencies = [ + "serde", +] + +[[package]] +name = "graphql-parser" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ebc8013b4426d5b81a4364c419a95ed0b404af2b82e2457de52d9348f0e474" +dependencies = [ + "combine 3.8.1", + "thiserror", +] + +[[package]] +name = "graphql_client" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a50cfdc7f34b7f01909d55c2dcb71d4c13cbcbb4a1605d6c8bd760d654c1144b" +dependencies = [ + "graphql_query_derive", + "reqwest", + "serde", + "serde_json", +] + +[[package]] +name = "graphql_client_codegen" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e27ed0c2cf0c0cc52c6bcf3b45c907f433015e580879d14005386251842fb0a" +dependencies = [ + "graphql-introspection-query", + "graphql-parser", + "heck 0.4.1", + "lazy_static", + "proc-macro2", + "quote", + "serde", + "serde_json", + "syn 1.0.109", +] + +[[package]] +name = "graphql_query_derive" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83febfa838f898cfa73dfaa7a8eb69ff3409021ac06ee94cfb3d622f6eeb1a97" +dependencies = [ + "graphql_client_codegen", + "proc-macro2", + "syn 1.0.109", +] + [[package]] name = "group" version = "0.12.1" @@ -3431,7 +3511,7 @@ dependencies = [ "arc-swap", "async-trait", "bytes", - "combine", + "combine 4.6.6", "futures", "futures-util", "itoa", @@ -3453,7 +3533,7 @@ dependencies = [ "arc-swap", "async-trait", "bytes", - "combine", + "combine 4.6.6", "futures", "futures-util", "itoa", @@ -3993,9 +4073,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smart-default" @@ -4683,6 +4763,15 @@ version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" +[[package]] +name = "unreachable" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56" +dependencies = [ + "void", +] + [[package]] name = "unsafe-libyaml" version = "0.2.9" @@ -4742,6 +4831,12 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "void" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" + [[package]] name = "vsimd" version = "0.8.0"