/** * Parses the path properties string returning the parsed properties and options. * In general it is comma delimited with some special strings like +lazy(20). */ public static Response parse(String rawProperties) { return new OrmQueryPropertiesParser(rawProperties).parse(); }
public OrmQueryProperties(String path, String rawProperties, FetchConfig fetchConfig) { OrmQueryPropertiesParser.Response response = OrmQueryPropertiesParser.parse(rawProperties); this.path = path; this.parentPath = SplitName.parent(path); this.rawProperties = rawProperties; this.trimmedProperties = response.properties; this.included = response.included; this.cache = response.cache; this.readOnly = response.readOnly; if (fetchConfig != null) { this.fetchConfig = fetchConfig; } else { this.fetchConfig = response.fetchConfig; } }