(spatial *storepb.SpatialIndexConfig)
| 769 | } |
| 770 | |
| 771 | func convertStoreSpatialIndexConfig(spatial *storepb.SpatialIndexConfig) *v1pb.SpatialIndexConfig { |
| 772 | if spatial == nil { |
| 773 | return nil |
| 774 | } |
| 775 | return &v1pb.SpatialIndexConfig{ |
| 776 | Method: spatial.Method, |
| 777 | Tessellation: convertStoreTessellationConfig(spatial.Tessellation), |
| 778 | Storage: convertStoreStorageConfig(spatial.Storage), |
| 779 | Dimensional: convertStoreDimensionalConfig(spatial.Dimensional), |
| 780 | } |
| 781 | } |
| 782 | |
| 783 | func convertV1SpatialIndexConfig(spatial *v1pb.SpatialIndexConfig) *storepb.SpatialIndexConfig { |
| 784 | if spatial == nil { |
no test coverage detected