MarkLogic V6 Java API sample code