Закрывающий запрос идет, где все предикаты могут быть подобраны с помощью индексов на базовых таблицах.
Это - первый шаг к улучшению производительности sql на рассмотрении.
I'm afraid you're on your own there. Constructors aren't inherited or polymorphic and subclass constructors, while they must and always do invoke a constructor for their immediate superclass, do not and cannot have that done automatically, except if there's a zero-arg constructor, which is implied by the mention of the superclass's name in an "extends" clause.
abstract class View {
def writer: XMLStreamWriter
// Implementation
}
class TestView(val writer: XMLStreamWriter) extends View {
// Implementation
}
Это то, что вы ищете?