hollow/src/main/java/com/netflix/hollow/core/schema/HollowObjectSchema.java
public int getPosition(String fieldName) {
        Integer index = nameFieldIndexLookup.get(fieldName);
        if (index == null) {
            return -1;
        }
        return index;
    }
public int getPosition(String fieldName) {
        Integer index = nameFieldIndexLookup.get(fieldName);
        if (index == null) {
            return -1;
        }
        return index;
    }
public int getPosition ( String fieldName ) { Integer index = nameFieldIndexLookup . get ( fieldName ) ; if ( index == null ) { return - 1 ; } return index ; }
Returns the position of a field previously added to the map, or -1 if the field has not been added to the map.

The positions of the fields are hashed into the <code>hashedPositionArray</code> by the hashCode of the fieldName.

@param fieldName the field name
@return the position
Returns the position of a field previously added to the map or - 1 if the field has not been added to the map .