[ 
https://issues.apache.org/jira/browse/IGNITE-6258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153383#comment-16153383
 ] 

Pavel Tupitsyn commented on IGNITE-6258:
----------------------------------------

h4. Proposed operations

*Dynamic Type Registration:*
* {{void RegisterBinaryTypeName(int typeId, string typeName)}}
* {{string GetBinaryTypeName(int typeId)}}

*Binary Metadata*
* {{PutBinaryTypes(ICollection<BinaryType> types)}}. BinaryType includes 
{{TypeName}}, {{TypeId}}, {{AffinityKeyFieldName}}, {{FieldMap[Name, TypeId, 
FieldId]}}, {{IsEnum}}, {{EnumFieldNames}}, {{Schemas}}
* {{BinaryType GetBinaryType(int typeId)}}
* {{ICollection<BinaryType> GetBinaryTypes()}}
* {{BinaryType RegisterEnum(string typeName, Map<string, int> fields)}}

*Optional*
* {{int[] GetSchema(int typeId, int schemaId)}} - this is not necessary, but 
can be useful to avoid retrieving entire BinaryType when only schema is needed 
for deserialization

> .NET: Thin client: Define metadata exchange protocol
> ----------------------------------------------------
>
>                 Key: IGNITE-6258
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6258
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 2.3
>
>
> IGNITE-6236 introduced some metadata operations in client protocol.
> Let's formalize these operations:
> * Which operations should be present? PutMeta, PutMetas, GetMeta, GetSchema, 
> etc.
> * Do we need to retrieve schemas separately from entire metadata?
> * Dynamic type registration



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to