Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does the object's cleaning function now depend on the type of collection? #84

Open
marat1961 opened this issue Sep 15, 2021 · 0 comments

Comments

@marat1961
Copy link
Owner

marat1961 commented Sep 15, 2021

Why does the object's cleaning function now depend on the type of collection?

  1. The collection cleanup method now passes the node address of the collection.
    For example, if it is a unidirectional list, then the node contains the next field besides the user defined type UDT.
    For hashmap node, we need Pair<Key, Value> (two UDTs).
  2. The structure is part of the node (aggregated into a node).
  3. In general case there can be several such structures.
    The type of a node can be described by a tuple of types.
  4. Each element of a tuple is described by its own metadata.
  5. A collection must create a description of a tuple of a node (metadata),
    based on the user type descriptions (metadata) received from the client.
  6. We need to update the implementation of collections so that,
    so that the collection has enough metadata for UDT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant