public Object[] getIdsAsValues() {
        if (legacyLogicForPassingNoIds) return null;
        return GValue.resolveToValues(this.ids);
    }
Gets the ids associated with this step as literal values rather than {@link GValue} objects.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/GraphStep.java