sight lol on org.apache.spark.api.java.Optional
* <p>{@code java.util.Optional} itself is not used at this time because the
* project does not require Java 8. Using {@code com.google.common.base.Optional}
* has in the past caused serious library version conflicts with Guava that can't
* be resolved by shading. Hence this work-alike clone.</p>