cqlclient_tests.go ×1

Frontier kind: Code frontier

unlabeled · c_6184f0ba921e

3 tests · 2451 LOC · 115 files · introduces 0 tests · 34 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
1 range34 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
409 ranges2451 lines · 115 files · Browse complete extent
All tests (intent)
3 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 34 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/tools/cassandra/cqlclient_tests.go 34 introduced LOC · 1 range

Open complete file

56 }
57
58 > func createTestCQLFileContent() string { cqlclient_tests.go
59 > return `
60 > -- test cql file content
61 >
62 > CREATE TABLE events (
63 > namespace_id uuid,
64 > workflow_id text,
65 > run_id uuid,
66 > -- We insert a batch of events with each append transaction.
67 > -- This field stores the event id of first event in the batch.
68 > first_event_id bigint,
69 > range_id bigint,
70 > tx_id bigint,
71 > data blob, -- Batch of workflow execution history events as a blob
72 > data_encoding text, -- Protocol used for history serialization
73 > data_version int, -- history blob version
74 > PRIMARY KEY ((namespace_id, workflow_id, run_id), first_event_id)
75 > );
76 >
77 > -- Stores activity or workflow tasks
78 > CREATE TABLE tasks (
79 > namespace_id uuid,
80 > task_queue_name text,
81 > task_queue_type int, -- enum TaskQueueType {ActivityTask, WorkflowTask}
82 > type int, -- enum rowType {Task, TaskQueue}
83 > task_id bigint, -- unique identifier for tasks, monotonically increasing
84 > range_id bigint static, -- Used to ensure that only one process can write to the table
85 > task text,
86 > task_queue text,
87 > PRIMARY KEY ((namespace_id, task_queue_name, task_queue_type), type, task_id)
88 > );
89 >
90 > `
91 > }