@Deprecated public static class PCollectionViews.SingletonViewFn<T> extends ViewFn<Materializations.MultimapView<java.lang.Void,T>,T> implements PCollectionViews.HasDefaultValue<T>, PCollectionViews.IsSingletonView<T>
T.
 For internal use only.
| Modifier and Type | Method and Description | 
|---|---|
| T | apply(Materializations.MultimapView<java.lang.Void,T> primitiveViewT)Deprecated.  A function to adapt a primitive view type to a desired view type. | 
| T | getDefaultValue()Deprecated.  Returns the default value that was specified. | 
| Materialization<Materializations.MultimapView<java.lang.Void,T>> | getMaterialization()Deprecated.  Gets the materialization of this  ViewFn. | 
| TypeDescriptor<T> | getTypeDescriptor()Deprecated.  Return the  TypeDescriptordescribing the output of this fn. | 
| boolean | hasDefault()Deprecated.  Returns if a default value was specified. | 
public boolean hasDefault()
public T getDefaultValue()
For internal use only.
getDefaultValue in interface PCollectionViews.HasDefaultValue<T>java.util.NoSuchElementException - if no default was specified.public Materialization<Materializations.MultimapView<java.lang.Void,T>> getMaterialization()
ViewFnViewFn.getMaterialization in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,T>public T apply(Materializations.MultimapView<java.lang.Void,T> primitiveViewT)
ViewFnapply in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,T>public TypeDescriptor<T> getTypeDescriptor()
ViewFnTypeDescriptor describing the output of this fn.getTypeDescriptor in class ViewFn<Materializations.MultimapView<java.lang.Void,T>,T>