public void addFieldRecursive(String type, String objectField, Map<String, HollowSchema> schemas) {
        addField(type, objectField);
        HollowObjectSchema schema = (HollowObjectSchema)schemas.get(type);
        if(schema.getFieldType(objectField) == FieldType.REFERENCE) {
            addTypeRecursive(schema.getReferencedType(objectField), schemas);
        }
    }
public void addFieldRecursive(String type, String objectField, Map<String, HollowSchema> schemas) {
        addField(type, objectField);
        HollowObjectSchema schema = (HollowObjectSchema)schemas.get(type);
        if(schema.getFieldType(objectField) == FieldType.REFERENCE) {
            addTypeRecursive(schema.getReferencedType(objectField), schemas);
        }
    }
public void addFieldRecursive ( String type , String objectField , Map < String , HollowSchema > schemas ) { addField ( type , objectField ) ; HollowObjectSchema schema = ( HollowObjectSchema ) schemas . get ( type ) ; if ( schema . getFieldType ( objectField ) == FieldType . REFERENCE ) { addTypeRecursive ( schema . getReferencedType ( objectField ) , schemas ) ; } }
Add an individual field from an OBJECT schema, plus recursively add any directly or transitively referenced types.
This field will be either excluded or included, depending on whether this is an exclude or include filter, respectively.

@param type The OBJECT type from the data model
@param objectField The field in the specified type to either include or exclude.
@param schemas A map of typeName to schema including all schemas for this data model.
Add an individual field from an OBJECT schema plus recursively add any directly or transitively referenced types . This field will be either excluded or included depending on whether this is an exclude or include filter respectively .