@Override protected SubqueryTable asNewAliasWithPropertiesArray(String newAlias, Property<?>[] newProperties) { return new SubqueryTable(modelClass, newProperties, newAlias, query); }
/** * Construct a new SubqueryTable backed by the given Query and aliased to the given name * * @param query the backing Query * @param name the name for the table * @return a new SubqueryTable */ public static SubqueryTable fromQuery(Query query, String name) { return new SubqueryTable(null, null, name, query); }
/** * Construct a new SubqueryTable backed by the given Query and aliased to the given name and associate it with the * given ViewModel * * @param query the backing Query * @param name the name for the table * @param modelClass the ViewModel to associate * @return a new SubqueryTable */ public static SubqueryTable fromQuery(Query query, String name, Class<? extends ViewModel> modelClass, Property<?>[] properties) { return new SubqueryTable(modelClass, properties, name, query); }
/** * Construct a new SubqueryTable backed by the given Query and aliased to the given name and associate it with the * given ViewModel * * @param query the backing Query * @param name the name for the table * @param modelClass the ViewModel to associate * @return a new SubqueryTable */ public static SubqueryTable fromQuery(Query query, String name, Class<? extends ViewModel> modelClass, Property<?>[] properties) { return new SubqueryTable(modelClass, properties, name, query); }
@Override protected SubqueryTable asNewAliasWithPropertiesArray(String newAlias, Property<?>[] newProperties) { return new SubqueryTable(modelClass, newProperties, newAlias, query); }
/** * Construct a new SubqueryTable backed by the given Query and aliased to the given name * * @param query the backing Query * @param name the name for the table * @return a new SubqueryTable */ public static SubqueryTable fromQuery(Query query, String name) { return new SubqueryTable(null, null, name, query); }