@Override
            public void accept(final Transaction transaction) {
                if (!transaction.isOpen()) throw Exceptions.transactionMustBeOpenToReadWrite();
            }
Transactions must be explicitly opened for operations to occur on the graph.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/Transaction.java