public int getType() {
            return type;
        }
Type of the index as it corresponds to the associated {@link WithOptions#list} and {@link WithOptions#map}.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/IndexStep.java