kevingurney opened a new issue, #37345:
URL: https://github.com/apache/arrow/issues/37345

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   Each concrete `arrow.array.Array` subclass has an associated `fromMATLAB` 
`static` construction method. It would be helpful if the `TypeTraits` classes 
had access to these corresponding `fromMATLAB` methods.
   
   This would involve adding a new property like `StaticConstructionFcn` to the 
`TypeTraits` classes.
   
   For example:
   
   ```matlab
   >> arrow.type.traits.Int8Traits
   
   ans = 
   
     Int8Traits with properties:
   
          ArrayConstructor: @arrow.array.Int8Array
            ArrayClassName: "arrow.array.Int8Array"
       ArrayProxyClassName: "arrow.array.proxy.Int8Array"
     StaticConstructionFcn: @arrow.array.Int8Array.fromMATLAB
           TypeConstructor: @arrow.type.Int8Type
             TypeClassName: "arrow.type.Int8Type"
        TypeProxyClassName: "arrow.type.proxy.Int8Type"
         MatlabConstructor: @int8
           MatlabClassName: "int8"
   ```
   
   ### Component(s)
   
   MATLAB


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to