Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd wires the CLI (Cobra) to the query core.
|
Package cmd wires the CLI (Cobra) to the query core. |
|
drivers
|
|
|
cassandra
Package cassandra adapts an Apache Cassandra table to the query ports.
|
Package cassandra adapts an Apache Cassandra table to the query ports. |
|
couchbase
Package couchbase adapts a Couchbase collection to the query ports.
|
Package couchbase adapts a Couchbase collection to the query ports. |
|
couchdb
Package couchdb adapts an Apache CouchDB database to the query ports.
|
Package couchdb adapts an Apache CouchDB database to the query ports. |
|
dynamodb
Package dynamodb adapts an Amazon DynamoDB table to the query ports.
|
Package dynamodb adapts an Amazon DynamoDB table to the query ports. |
|
elasticsearch
Package elasticsearch adapts an Elasticsearch index to the query ports.
|
Package elasticsearch adapts an Elasticsearch index to the query ports. |
|
file
Package file adapts a local database dump file to the query ports, so a dump is queried, inspected, diffed, and copied-from exactly like a live backend.
|
Package file adapts a local database dump file to the query ports, so a dump is queried, inspected, diffed, and copied-from exactly like a live backend. |
|
hbase
Package hbase adapts an Apache HBase table to the query ports.
|
Package hbase adapts an Apache HBase table to the query ports. |
|
mongo
Package mongo adapts a MongoDB collection to the query ports.
|
Package mongo adapts a MongoDB collection to the query ports. |
|
neo4j
Package neo4j adapts a Neo4j property graph to the query ports.
|
Package neo4j adapts a Neo4j property graph to the query ports. |
|
redis
Package redis adapts a Redis server to the query.Store port using go-redis.
|
Package redis adapts a Redis server to the query.Store port using go-redis. |
|
Package e2e holds black-box smoke tests that build and run the iq binary and assert on its real stdout and exit codes.
|
Package e2e holds black-box smoke tests that build and run the iq binary and assert on its real stdout and exit codes. |
|
internal
|
|
|
config
Package config persists the CLI's named connection sources and which source and group are active, so a query need not repeat a connection URL.
|
Package config persists the CLI's named connection sources and which source and group are active, so a query need not repeat a connection URL. |
|
diff
Package diff structurally compares two JSON-ready values — the normalized form (nil, bool, int, float64, string, []any, map[string]any) that every driver adapter produces.
|
Package diff structurally compares two JSON-ready values — the normalized form (nil, bool, int, float64, string, []any, map[string]any) that every driver adapter produces. |
|
jqfmt
Package jqfmt pretty-prints a jq filter: it parses the source with gojq and re-emits the AST with real line breaks, indentation, and optional syntax coloring.
|
Package jqfmt pretty-prints a jq filter: it parses the source with gojq and re-emits the AST with real line breaks, indentation, and optional syntax coloring. |
|
neo4jenvelope
Package neo4jenvelope names the reserved keys iq injects into a Neo4j node or relationship value alongside its real properties.
|
Package neo4jenvelope names the reserved keys iq injects into a Neo4j node or relationship value alongside its real properties. |
|
numfmt
Package numfmt holds the presentation choices for backend numbers that the CLI resolves once and the driver adapters honour when normalizing values.
|
Package numfmt holds the presentation choices for backend numbers that the CLI resolves once and the driver adapters honour when normalizing values. |
|
parquetout
Package parquetout streams a normalized value sequence to Apache Parquet.
|
Package parquetout streams a normalized value sequence to Apache Parquet. |
|
predicate
Package predicate is the backend-neutral representation of a pushable filter predicate.
|
Package predicate is the backend-neutral representation of a pushable filter predicate. |
|
pushdown
Package pushdown compiles the equality predicate of a jq select(...) filter into a backend-neutral predicate, so a backend can pre-filter server-side instead of streaming its whole collection.
|
Package pushdown compiles the equality predicate of a jq select(...) filter into a backend-neutral predicate, so a backend can pre-filter server-side instead of streaming its whole collection. |
|
query
Package query holds the driver-agnostic core: the Store port a database adapter implements, and the Runner use case that forwards a query to it.
|
Package query holds the driver-agnostic core: the Store port a database adapter implements, and the Runner use case that forwards a query to it. |
|
rawpred
Package rawpred is a client-side, raw-byte predicate prefilter.
|
Package rawpred is a client-side, raw-byte predicate prefilter. |
|
render
Package render holds output helpers shared by the CLI and the backend adapters, so JSON is colored one way everywhere.
|
Package render holds output helpers shared by the CLI and the backend adapters, so JSON is colored one way everywhere. |
|
secret
Package secret stores a source's password in the OS keyring, keeping the plaintext out of the config file.
|
Package secret stores a source's password in the OS keyring, keeping the plaintext out of the config file. |
|
selector
Package selector classifies a parsed jq expression by the reads it needs.
|
Package selector classifies a parsed jq expression by the reads it needs. |
|
shape
Package shape reduces a sample of items to an inferred structural shape and projects it two ways: Comparable, a flat path->node map fed to a structural diff, and JSONSchema, a draft 2020-12 document.
|
Package shape reduces a sample of items to an inferred structural shape and projects it two ways: Comparable, a flat path->node map fed to a structural diff, and JSONSchema, a draft 2020-12 document. |
|
testimage
Package testimage reads the container image of a test service from compose.yaml.
|
Package testimage reads the container image of a test service from compose.yaml. |
Click to show internal directories.
Click to hide internal directories.