Interface CompositeType

    • Method Detail

      • getSchema

        Schema getSchema​(String name)
        Gets the composite type schema given its name.
        Parameters:
        name - the schema name
        Returns:
        the schema if any or null if none was found
      • hasSchemas

        boolean hasSchemas()
        Checks if this composite type has any schema defined.
        Returns:
        true if this composite type has some schemas defined, false otherwise
      • hasSchema

        boolean hasSchema​(String name)
        Checks if this composite type has the given schema.
        Parameters:
        name - the schema name
        Returns:
        true if the composite type has this schema, false otherwise
      • getSchemaNames

        String[] getSchemaNames()
        Gets the schema names of this type.
        Returns:
        the schema names
      • getSchemas

        Collection<SchemagetSchemas()
        Gets all the schemas (including inherited schemas) of this composite type.
        Returns:
        the composite type schemas