@Override
    public final int getLength() {
        return length;
    }
NOTE: DO NOT USE. Should only be used by {@link com.yahoo.document.serialization.SpanNodeReader}.
@param from the from value to set
document/src/main/java/com/yahoo/document/annotation/Span.java