Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaterializeInc/demos
/ functions
Functions
200 in github.com/MaterializeInc/demos
⨍
Functions
200
◇
Types & classes
54
↓ 54 callers
Method
connect
Connect to Materialize @return a Connection object
connection-examples/java/view.java:20
↓ 21 callers
Method
query
()
connection-examples/java/query.java:29
↓ 14 callers
Method
query
* Run a query in Materialize * @param statement * @returns
antennas-kafka/backend/src/MaterializeClient/index.ts:24
↓ 13 callers
Method
query
* Run a query in Materialize * @param statement * @returns
antennas-postgres/backend/src/MaterializeClient/index.ts:24
↓ 6 callers
Function
create_client
Create a client using localhost
connection-examples/rust/src/connection.rs:4
↓ 4 callers
Function
connect
(string $host, int $port, string $db, string $user, string $password)
connection-examples/php/connection.php:3
↓ 4 callers
Function
setSourceData
* Set up a source data * @param map MapBox * @param sourceName Map source name * @param data Data to set
antennas-postgres/frontend/src/components/AntennasMap/index.tsx:70
↓ 3 callers
Method
cleanBatch
()
antennas-postgres/backend/src/MaterializeClient/TransformStream/index.ts:28
↓ 3 callers
Method
cleanBatch
()
antennas-kafka/backend/src/MaterializeClient/TransformStream/index.ts:28
↓ 3 callers
Function
subscribe
()
antennas-postgres/microservice/src/app.ts:172
↓ 3 callers
Method
subscribe
* Run a subscribe in Materialize * @param statement * @param eventEmmiter * @returns
antennas-postgres/backend/src/MaterializeClient/index.ts:81
↓ 2 callers
Function
buildEvent
(antennaId: number, value: number)
antennas-kafka/microservice/src/app.ts:77
↓ 2 callers
Function
buildQuery
(antennaId: number, value: number)
antennas-postgres/microservice/src/app.ts:43
↓ 2 callers
Function
dataGenerator
()
antennas-postgres/helper/src/app.ts:86
↓ 2 callers
Function
generatePageview
(viewer_id, target_id, page_type)
ecommerce/loadgen/generate_load.py:54
↓ 2 callers
Method
get_state
(self)
connection-examples/python/state.py:18
↓ 2 callers
Method
process
* Process and push rows * @param rows
antennas-postgres/backend/src/MaterializeClient/SubscribeStream/index.ts:99
↓ 2 callers
Method
process
* Process and push rows * @param rows
antennas-kafka/backend/src/MaterializeClient/SubscribeStream/index.ts:99
↓ 2 callers
Function
registerValidSW
(swUrl: string, config?: Config)
antennas-postgres/frontend/src/serviceWorker.ts:60
↓ 2 callers
Method
subscribe
* Run a subscribe in Materialize * @param statement * @param eventEmmiter * @returns
antennas-kafka/backend/src/MaterializeClient/index.ts:81
↓ 2 callers
Method
update
(self, updates: List[Update], timestamp: int)
connection-examples/python/state.py:49
↓ 1 callers
Method
#validate
(timestamp)
connection-examples/nodejs/state.js:35
↓ 1 callers
Function
NewState
(collectHistory bool)
connection-examples/go/state.go:25
↓ 1 callers
Function
REPLACE_ME_WITH_YOUR_TOKEN
* Replace with your own MapBox token
antennas-postgres/frontend/src/components/AntennasMap/index.tsx:106
↓ 1 callers
Method
Update
(updates []Update, timestamp int64)
connection-examples/go/state.go:97
↓ 1 callers
Function
addPulsingDot
* * @param map MapBox * @param name Image layer name * @param source Source name * @param color Color to be used
antennas-postgres/frontend/src/components/AntennasMap/index.tsx:88
↓ 1 callers
Function
buildEvent
(antennaId: number, value: number)
antennas-kafka/backend/src/app.ts:87
↓ 1 callers
Function
buildEvent
* Build a custom Postgres insert with a random performance and clients connected * @param antennaId Antenna Identifier * @returns
antennas-kafka/helper/src/app.ts:132
↓ 1 callers
Function
buildPulsingDot
(map, color, size)
antennas-postgres/frontend/src/components/AntennasMap/DotClone/index.js:1
↓ 1 callers
Function
buildQuery
* Build a custom Postgres insert with a low performance value to crash antenna * @param antennaId Antenna Identifier * @returns
antennas-postgres/backend/src/app.ts:76
↓ 1 callers
Function
buildQuery
* Build a custom Postgres insert with a random performance and clients connected * @param antennaId Antenna Identifier * @returns
antennas-postgres/helper/src/app.ts:71
↓ 1 callers
Function
checkValidServiceWorker
(swUrl: string, config?: Config)
antennas-postgres/frontend/src/serviceWorker.ts:104
↓ 1 callers
Method
connect
Connect to Materialize @return a Connection object
connection-examples/java/insert.java:20
↓ 1 callers
Method
connect
Connect to Materialize @return a Connection object
connection-examples/java/subscribe.java:19
↓ 1 callers
Method
connect
Connect to Materialize @return a Connection object
connection-examples/java/connection.java:17
↓ 1 callers
Method
connect
Connect to Materialize @return a Connection object
connection-examples/java/query.java:19
↓ 1 callers
Method
connect
Connect to Materialize @return a Connection object
connection-examples/java/source.java:20
↓ 1 callers
Function
createLayer
(id: string, source: string, color: string)
antennas-postgres/frontend/src/components/AntennasMap/index.tsx:151
↓ 1 callers
Function
create_materialized_view
Creates a materialized view over the PUBNUB source
connection-examples/rust/src/view.rs:6
↓ 1 callers
Function
create_source
Creates a PUBNUB source
connection-examples/rust/src/source.rs:6
↓ 1 callers
Function
create_table
Create a simple table
connection-examples/rust/src/table.rs:6
↓ 1 callers
Function
dataGenerator
* Generate data to Postgres indefinitely
antennas-kafka/helper/src/app.ts:173
↓ 1 callers
Function
findHelperAntennas
(antennaName)
antennas-postgres/microservice/src/app.ts:58
↓ 1 callers
Function
findHelperAntennas
(antennaName)
antennas-kafka/microservice/src/app.ts:90
↓ 1 callers
Method
getDiff
()
connection-examples/php/state.php:16
↓ 1 callers
Method
getState
()
connection-examples/go/state.go:37
↓ 1 callers
Method
getState
()
connection-examples/nodejs/state.js:16
↓ 1 callers
Method
getState
()
connection-examples/deno/state.ts:21
↓ 1 callers
Method
getValue
()
connection-examples/php/state.php:12
↓ 1 callers
Method
get_state
(self)
connection-examples/python/pg8000/state.py:18
↓ 1 callers
Method
get_state
()
connection-examples/php/state.php:43
↓ 1 callers
Method
get_state
connection-examples/ruby/state.rb:11
↓ 1 callers
Function
handleTailEventUpdate
* Tail updates require another step here to detect added and removed antennas * @param antennasMap * @param update
antennas-postgres/frontend/src/components/AntennasMap/index.tsx:120
↓ 1 callers
Function
improveAntennaPerformance
(antennaId, antennaName)
antennas-postgres/microservice/src/app.ts:81
↓ 1 callers
Function
improveAntennaPerformance
(antennaId, antennaName)
antennas-kafka/microservice/src/app.ts:113
↓ 1 callers
Function
insert
Insert data into the table
connection-examples/rust/src/insert.rs:6
↓ 1 callers
Method
insert
()
connection-examples/java/insert.java:30
↓ 1 callers
Method
intervalRead
* Interval fetching used when there are no results from the subscribe * Rather than pausing and waiting for results * Run a subscribe fetch ever
antennas-postgres/backend/src/MaterializeClient/SubscribeStream/index.ts:123
↓ 1 callers
Method
intervalRead
* Interval fetching used when there are no results from the subscribe * Rather than pausing and waiting for results * Run a subscribe fetch ever
antennas-kafka/backend/src/MaterializeClient/SubscribeStream/index.ts:123
↓ 1 callers
Method
listener
(results: Array<any>)
antennas-postgres/backend/src/MaterializeClient/index.ts:125
↓ 1 callers
Method
listener
(results: Array<any>)
antennas-kafka/backend/src/MaterializeClient/index.ts:125
↓ 1 callers
Function
main
()
connection-examples/typescript/src/view.ts:14
↓ 1 callers
Function
main
()
connection-examples/typescript/src/source.ts:14
↓ 1 callers
Function
main
()
connection-examples/typescript/src/subscribe.ts:19
↓ 1 callers
Function
main
()
connection-examples/typescript/src/query.ts:14
↓ 1 callers
Function
main
()
connection-examples/typescript/src/connection.ts:19
↓ 1 callers
Function
main
()
connection-examples/typescript/src/insert.ts:18
↓ 1 callers
Function
main
()
connection-examples/nodejs/source.js:12
↓ 1 callers
Function
main
()
connection-examples/nodejs/view.js:12
↓ 1 callers
Function
main
()
connection-examples/nodejs/connection.js:17
↓ 1 callers
Function
main
()
connection-examples/nodejs/insert.js:15
↓ 1 callers
Function
main
()
connection-examples/nodejs/query.js:12
↓ 1 callers
Function
main
()
connection-examples/nodejs/subscribe.js:4
↓ 1 callers
Function
main
({ response }: { response: any })
connection-examples/deno/example.ts:10
↓ 1 callers
Function
main
({ response }: { response: any })
connection-examples/deno/view.ts:12
↓ 1 callers
Function
main
({ response }: { response: any })
connection-examples/deno/source.ts:12
↓ 1 callers
Function
main
({ response }: { response: any })
connection-examples/deno/subscribe.ts:18
↓ 1 callers
Function
main
({ response }: { response: any })
connection-examples/deno/query.ts:12
↓ 1 callers
Function
main
({ response }: { response: any })
connection-examples/deno/connection.ts:16
↓ 1 callers
Function
main
({ response }: { response: any })
connection-examples/deno/insert.ts:12
↓ 1 callers
Method
process
(self, update: Update)
connection-examples/python/state.py:37
↓ 1 callers
Method
process
(self, update: Update)
connection-examples/python/pg8000/state.py:37
↓ 1 callers
Method
process
(Update $update)
connection-examples/php/state.php:68
↓ 1 callers
Method
process
(update Update)
connection-examples/go/state.go:70
↓ 1 callers
Function
purchaseLoop
()
ecommerce/loadgen/generate_load.py:62
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: ReportHandler)
antennas-postgres/frontend/src/reportWebVitals.ts:3
↓ 1 callers
Function
run_query
Run a query over the table.
connection-examples/rust/src/query.rs:4
↓ 1 callers
Function
setUpKafka
()
antennas-kafka/helper/src/app.ts:141
↓ 1 callers
Function
setUpMaterialize
* Create Materialize sources and materialized views * Before creating the views it will check if they aren't created already.
antennas-postgres/helper/src/app.ts:16
↓ 1 callers
Function
setUpMaterialize
()
antennas-kafka/helper/src/app.ts:36
↓ 1 callers
Method
source
()
connection-examples/java/source.java:30
↓ 1 callers
Function
subscribe
Run a subscribe over the PUBNUB materialized view
connection-examples/rust/src/subscribe.rs:4
↓ 1 callers
Method
subscribe
()
connection-examples/java/subscribe.java:29
↓ 1 callers
Method
update
(self, updates: List[Update], timestamp: int)
connection-examples/python/pg8000/state.py:49
↓ 1 callers
Method
update
($updates, $timestamp)
connection-examples/php/state.php:90
↓ 1 callers
Method
update
(updates, timestamp)
connection-examples/ruby/state.rb:54
↓ 1 callers
Method
update
(updates: Array<Update<T>>, timestamp: number)
connection-examples/typescript/src/state.ts:71
↓ 1 callers
Method
update
(updates, timestamp)
connection-examples/nodejs/state.js:66
↓ 1 callers
Method
update
(updates: Array<Update<T>>, timestamp: number)
connection-examples/deno/state.ts:71
↓ 1 callers
Method
validate
(self, timestamp: int)
connection-examples/python/state.py:29
next →
1–100 of 200, ranked by callers