public GValue[] getIds() {
        return this.ids;
    }
Get the ids associated with this step. If there are {@link GValue} objects present they will be returned
alongside literal ids. Prefer {@link #getIdsAsValues()} if you prefer to work with literal ids only.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/GraphStep.java