public class ExampleTemplateWithInner.TheInnerClass extends Object
TODO: Test that use case here.
| Modifier and Type | Class and Description |
|---|---|
class |
ExampleTemplateWithInner.TheInnerClass.DoubleInner |
| Constructor and Description |
|---|
TheInnerClass() |
| Modifier and Type | Method and Description |
|---|---|
void |
doDouble()
Not overridden.
|
void |
doInside()
Because of how Drill does byte-code merging, the methods
on the inner class cannot be abstract; they must have an
empty implementation which is discarded and replaced with the
generated implementation.
|
protected ExampleTemplateWithInner.TheInnerClass.DoubleInner |
injectMembers(ExampleTemplateWithInner.TheInnerClass.DoubleInner doubleInner) |
protected ExampleTemplateWithInner.TheInnerClass.DoubleInner |
newDoubleInner() |
public void doInside()
throws SchemaChangeException
SchemaChangeException - all methods that Drill generates
throw this exception. This does not matter for byte-code merge,
but plain-old Java requires that the overridden method declare
any exceptions thrown by the overriding method.public void doDouble()
throws SchemaChangeException
SchemaChangeExceptionprotected ExampleTemplateWithInner.TheInnerClass.DoubleInner newDoubleInner()
protected ExampleTemplateWithInner.TheInnerClass.DoubleInner injectMembers(ExampleTemplateWithInner.TheInnerClass.DoubleInner doubleInner)
Copyright © 2022 The Apache Software Foundation. All rights reserved.