Flexible NoSQL hotness. With search.

4.5.3.9 ListType

class ListType:
  • A datatype representing a list whose members all have the same datatype.
  • Attributes:
    • member_datatype
      A datatype instance
  • Example:
    // schema with list of integers
    {
        "__class__" : "StructSchema":
        "examplevar": {
            "__class__": "AttributeDescriptor",
            "datatype" : {
                "__class__": "ListType",
                "member_datatype": {"__class__": "IntegerType"}
                },
            "is_searchable": true
            }
        }
    }
    
« Prev Next »