Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
wendelin
Commits
2e328301
Commit
2e328301
authored
Jan 12, 2021
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Catalog certain properties of a Data Stream for ebulk client side optimizations.
parent
821ec8dc
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
344 additions
and
1 deletion
+344
-1
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.catalog_keys.xml
...og/erp5_mysql_innodb/z0_drop_data_stream.catalog_keys.xml
+5
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.sql
.../portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.sql
+1
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.xml
.../portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.xml
+70
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.catalog_keys.xml
...p5_mysql_innodb/z0_uncatalog_data_stream.catalog_keys.xml
+5
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.sql
...al_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.sql
+1
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.xml
...al_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.xml
+64
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.catalog_keys.xml
..._mysql_innodb/z_catalog_data_stream_list.catalog_keys.xml
+5
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.sql
..._catalog/erp5_mysql_innodb/z_catalog_data_stream_list.sql
+11
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.xml
..._catalog/erp5_mysql_innodb/z_catalog_data_stream_list.xml
+90
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.catalog_keys.xml
...g/erp5_mysql_innodb/z_create_data_stream.catalog_keys.xml
+5
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.sql
...portal_catalog/erp5_mysql_innodb/z_create_data_stream.sql
+10
-0
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.xml
...portal_catalog/erp5_mysql_innodb/z_create_data_stream.xml
+70
-0
bt5/erp5_wendelin/CatalogResultTableTemplateItem/result_table_list.xml
...elin/CatalogResultTableTemplateItem/result_table_list.xml
+1
-0
bt5/erp5_wendelin/bt/template_catalog_method_id_list
bt5/erp5_wendelin/bt/template_catalog_method_id_list
+4
-0
bt5/erp5_wendelin/bt/template_catalog_result_table_list
bt5/erp5_wendelin/bt/template_catalog_result_table_list
+2
-1
No files found.
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.catalog_keys.xml
0 → 100644
View file @
2e328301
<catalog_method>
<item
key=
"sql_clear_catalog"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.sql
0 → 100644
View file @
2e328301
DROP
TABLE
IF
EXISTS
data_stream
\ No newline at end of file
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_data_stream.xml
0 → 100644
View file @
2e328301
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_col
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z0_drop_data_stream
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.catalog_keys.xml
0 → 100644
View file @
2e328301
<catalog_method>
<item
key=
"sql_uncatalog_object"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.sql
0 → 100644
View file @
2e328301
DELETE
FROM
data_stream
WHERE
<
dtml
-
sqltest
uid
op
=
eq
type
=
int
>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_uncatalog_data_stream.xml
0 → 100644
View file @
2e328301
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z0_uncatalog_data_stream
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.catalog_keys.xml
0 → 100644
View file @
2e328301
<catalog_method>
<item
key=
"sql_catalog_object_list"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.sql
0 → 100644
View file @
2e328301
REPLACE
INTO
data_stream
(
uid
,
size
,
version
)
VALUES
<
dtml
-
in
prefix
=
"loop"
expr
=
"_.range(_.len(uid))"
>
(
<
dtml
-
sqlvar
expr
=
"uid[loop_item]"
type
=
"int"
>
,
<
dtml
-
sqlvar
expr
=
"getSize[loop_item]"
type
=
"string"
optional
>
,
<
dtml
-
sqlvar
expr
=
"getVersion[loop_item]"
type
=
"string"
optional
>
)
<
dtml
-
if
sequence
-
end
><
dtml
-
else
>
,
</
dtml
-
if
>
</
dtml
-
in
>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_data_stream_list.xml
0 → 100644
View file @
2e328301
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
uid\n
getSize\n
getVersion
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
expression
</string>
</key>
<value>
<string>
python: context.getPortalType() == \'Data Stream\'
</string>
</value>
</item>
<item>
<key>
<string>
expression_cache_key
</string>
</key>
<value>
<tuple>
<string>
portal_type
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
filtered
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_catalog_data_stream_list
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
z_catalog_data_stream_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.catalog_keys.xml
0 → 100644
View file @
2e328301
<catalog_method>
<item
key=
"sql_clear_catalog"
type=
"int"
>
<value>
1
</value>
</item>
</catalog_method>
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.sql
0 → 100644
View file @
2e328301
#
Host
:
#
Database
:
test
#
Table
:
'data_stream'
#
CREATE
TABLE
`data_stream`
(
`uid`
BIGINT
UNSIGNED
NOT
NULL
,
`size`
BIGINT
UNSIGNED
NOT
NULL
,
`version`
varchar
(
30
)
default
''
,
PRIMARY
KEY
(
`uid`
)
)
ENGINE
=
InnoDB
;
\ No newline at end of file
bt5/erp5_wendelin/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_data_stream.xml
0 → 100644
View file @
2e328301
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL Method"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_col
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
z_create_data_stream
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_wendelin/CatalogResultTableTemplateItem/result_table_list.xml
View file @
2e328301
<key_list>
<key_list>
<key>
data_analysis
</key>
<key>
data_analysis
</key>
<key>
data_stream
</key>
</key_list>
</key_list>
\ No newline at end of file
bt5/erp5_wendelin/bt/template_catalog_method_id_list
View file @
2e328301
erp5_mysql_innodb/z0_drop_data_analysis
erp5_mysql_innodb/z0_drop_data_analysis
erp5_mysql_innodb/z0_drop_data_stream
erp5_mysql_innodb/z0_uncatalog_data_analysis
erp5_mysql_innodb/z0_uncatalog_data_analysis
erp5_mysql_innodb/z0_uncatalog_data_stream
erp5_mysql_innodb/z_catalog_data_analysis_list
erp5_mysql_innodb/z_catalog_data_analysis_list
erp5_mysql_innodb/z_catalog_data_stream_list
erp5_mysql_innodb/z_create_data_analysis
erp5_mysql_innodb/z_create_data_analysis
erp5_mysql_innodb/z_create_data_stream
erp5_mysql_innodb/z_related_item
erp5_mysql_innodb/z_related_item
erp5_mysql_innodb/z_related_item_aggregate
erp5_mysql_innodb/z_related_item_aggregate
erp5_mysql_innodb/z_related_item_destination_project
erp5_mysql_innodb/z_related_item_destination_project
...
...
bt5/erp5_wendelin/bt/template_catalog_result_table_list
View file @
2e328301
data_analysis
data_analysis
data_stream
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment