code: public final void registerTypeParser(Schema schema, TypeParser typeParser) {
      Preconditions.checkNotNull(schema, "schema cannot be null.");
      Preconditions.checkNotNull(typeParser, "typeParser cannot be null.");
      this.typeParsers.put(new ParserKey(schema), typeParser);
    }
docs: Method is used to register a TypeParser for a given schema. If the schema is already registered, the new TypeParser
  will replace the existing one.
  
  @param schema     Schema to register to. This supports any logical type by checking Schema.name() and schema.type().
  @param typeParser The type parser to register for schema.