protected MetaModelQueryDslBuilder(final MetaModelQueryDslImpl<T, C, Q, E> template) { this(template.endpoint(), r -> template.deserialize(r), template.getQueryModel(), template.getExpansionModel(), template.queryDslBuilderFunction); predicate = template.predicates(); sort = template.sort(); limit = template.limit(); offset = template.offset(); expansionPaths = template.expansionPaths(); additionalHttpQueryParameters = template.additionalHttpQueryParameters(); withTotal = template.fetchTotal(); }