SwiftclassFedStatsEncoder

class FedStatsEncoder.CategoryMapEncoder

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 9

  1. funcstatic create(from: [String : Any]) throws -> FedStatsEncoder.CategoryMapEncoder
  2. deinitdeinit
  3. fieldlet categories: [String]+0x20
  4. fieldlet dimensionality: Int+0x18
  5. fieldlet encoderType: FedStatsEncoder.DataEncoderType+0x10
  6. fieldlet subcategoriesMap: [String : String]+0x28
  7. funcdecodeFromIndex(Int) throws -> Any
  8. funcencodeToIndex(Any) throws -> Int
  9. initFedStatsEncoder.CategoryMapEncoder.__allocating_init(categories: [String], subcategoriesMap: [String : String]) throws -> FedStatsEncoder.CategoryMapEncoder
class CategoryMapEncoder {
    let encoderType: FedStatsEncoder.DataEncoderType
    let dimensionality: Swift.Int
    let categories: [Swift.String]
    let subcategoriesMap: [Swift.String : Swift.String]

    init(categories: [Swift.String], subcategoriesMap: [Swift.String : Swift.String]) throws

    final func encodeToIndex(_: Any) throws -> Swift.Int
    final func decodeFromIndex(_: Swift.Int) throws -> Any

    static func create(from: [Swift.String : Any]) throws -> FedStatsEncoder.CategoryMapEncoder

    deinit
}