@@ -2679,7 +2679,7 @@ A dictionary containing cache statistics: hits, misses, size, maxsize.
26792679class BasePostgresLookupField(BaseField, abc.ABC )
26802680```
26812681
2682- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L25 )
2682+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L31 )
26832683
26842684< a id = " quixstreams.dataframe.joins.lookups.postgresql.BasePostgresLookupField.build_query" >< / a>
26852685
@@ -2694,7 +2694,7 @@ def build_query(
26942694) -> Tuple[sql.Composable, Union[dict[str , Any], Tuple[str , ... ]]]
26952695```
26962696
2697- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L32 )
2697+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L38 )
26982698
26992699Build the SQL query string for this field.
27002700
@@ -2722,7 +2722,7 @@ A tuple of the SQL query string and the parameters.
27222722def result(cursor: pg_cursor) -> Union[dict[str , Any], list[dict[str , Any]]]
27232723```
27242724
2725- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L46 )
2725+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L52 )
27262726
27272727Extract the result from the cursor based on the field definition.
27282728
@@ -2747,7 +2747,7 @@ The extracted data, either a single row or a list of rows.
27472747class PostgresLookupField(BasePostgresLookupField)
27482748```
27492749
2750- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L58 )
2750+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L64 )
27512751
27522752< a id = " quixstreams.dataframe.joins.lookups.postgresql.PostgresLookupField.build_query" >< / a>
27532753
@@ -2760,7 +2760,7 @@ def build_query(on: str,
27602760 value: dict[str , Any]) -> Tuple[sql.Composed, Tuple[str , ... ]]
27612761```
27622762
2763- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L97 )
2763+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L103 )
27642764
27652765Build the SQL query string for this field.
27662766
@@ -2787,7 +2787,7 @@ A tuple of the SQL query string and the parameters.
27872787def result(cursor: pg_cursor) -> Union[dict[str , Any], list[dict[str , Any]]]
27882788```
27892789
2790- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L127 )
2790+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L133 )
27912791
27922792Extract the result from the cursor based on the field definition.
27932793
@@ -2812,7 +2812,7 @@ The extracted data, either a single row or a list of rows.
28122812class PostgresLookupQueryField(BasePostgresLookupField)
28132813```
28142814
2815- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L142 )
2815+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L148 )
28162816
28172817< a id = " quixstreams.dataframe.joins.lookups.postgresql.PostgresLookupQueryField.result" >< / a>
28182818
@@ -2824,7 +2824,7 @@ class PostgresLookupQueryField(BasePostgresLookupField)
28242824def result(cursor: pg_cursor) -> Union[list[Any], Any]
28252825```
28262826
2827- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L155 )
2827+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L161 )
28282828
28292829Extract the result from the cursor based on the field definition.
28302830
@@ -2849,7 +2849,7 @@ class PostgresLookup(BaseLookup[Union[PostgresLookupField,
28492849 PostgresLookupQueryField]])
28502850```
28512851
2852- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L168 )
2852+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L174 )
28532853
28542854Lookup join implementation for enriching streaming data with data from a Postgres database.
28552855
@@ -2887,7 +2887,7 @@ def __init__(host: str,
28872887 ** kwargs)
28882888```
28892889
2890- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L188 )
2890+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L194 )
28912891
28922892
28932893< br>
@@ -2922,7 +2922,7 @@ def field(table: str,
29222922 first_match_only: bool = True ) -> PostgresLookupField
29232923```
29242924
2925- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L312 )
2925+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L318 )
29262926
29272927Field definition for use with PostgresLookup in lookup joins.
29282928
@@ -2991,7 +2991,7 @@ def query_field(query: str,
29912991 first_match_only: bool = True ) -> PostgresLookupQueryField
29922992```
29932993
2994- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L386 )
2994+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L392 )
29952995
29962996Field definition for use with PostgresLookup in lookup joins.
29972997
@@ -3053,7 +3053,7 @@ def join(fields: Mapping[str, Union[PostgresLookupField,
30533053 Any], key: Any, timestamp: int , headers: Any) -> None
30543054```
30553055
3056- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L440 )
3056+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L446 )
30573057
30583058Enrich the message value in - place by querying SQLite for each field and caching results per TTL .
30593059
@@ -3084,7 +3084,7 @@ None. The input value dictionary is updated in-place with the enriched data.
30843084def cache_info() -> CacheInfo
30853085```
30863086
3087- [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L480 )
3087+ [[VIEW SOURCE ]](https:// github.com/ quixio/ quix- streams/ blob/ main/ quixstreams/ dataframe/ joins/ lookups/ postgresql.py# L486 )
30883088
30893089Get cache statistics for the SQLiteLookup LRU cache.
30903090
0 commit comments