public static InsertType snippet(final String snippet) {
        return NullSafe.isBlankString(snippet)
                ? InsertType.BLANK
                : InsertType.SNIPPET;
    }
@return SNIPPET or BLANK depending on whether snippet is blank or not.
stroom-core-shared/src/main/java/stroom/query/shared/InsertType.java