[NUCJAVAEIGHT-9] Support for main methods for in-memory queries