public enum InputStreamType extends Enum<InputStreamType>
Each enum value contains the factory function actually used to create the factory.
| Enum Constant and Description |
|---|
Analytics
The analytics input stream.
|
Classic
The classic input stream.
|
Custom
The a custom input stream.
|
Prefetch
The prefetching input stream.
|
| Modifier and Type | Method and Description |
|---|---|
String |
capability()
Get the capability string for this stream type.
|
Function<org.apache.hadoop.conf.Configuration,ObjectInputStreamFactory> |
factory()
Factory constructor.
|
String |
getName()
String name.
|
int |
streamID()
Get the ID of this stream.
|
static InputStreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputStreamType Classic
public static final InputStreamType Prefetch
public static final InputStreamType Analytics
public static final InputStreamType Custom
public static InputStreamType[] values()
for (InputStreamType c : InputStreamType.values()) System.out.println(c);
public static InputStreamType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public int streamID()
public String capability()
public Function<org.apache.hadoop.conf.Configuration,ObjectInputStreamFactory> factory()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.