class AbstractGraphTemplate implements GraphTemplate {

    @Override
    public PreparedStatement prepare(String gremlin) {
        requireNonNull(gremlin, "query is required");
        return new DefaultPreparedStatement(getExecutor(), gremlin, getTraversal());
    }

}