public class DataInputStreamUtils extends Object
| Constructor and Description |
|---|
DataInputStreamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Edges |
decodeEdges(DataInputStream in,
NameSubstitutionStrategy nameSubstitutionStrategy) |
static void |
decodeHeader(DataInputStream in,
byte expectedTypeId) |
static List<MetadataEntry> |
decodeMetadataEntries(DataInputStream in) |
static Iterable<Property> |
decodeProperties(AccumuloGraph graph,
DataInputStream in,
List<MetadataEntry> metadataEntries,
FetchHints fetchHints) |
static String |
decodeString(DataInputStream in) |
static com.google.common.collect.ImmutableSet<String> |
decodeStringSet(DataInputStream in) |
static org.apache.hadoop.io.Text |
decodeText(DataInputStream in) |
public static org.apache.hadoop.io.Text decodeText(DataInputStream in) throws IOException
IOExceptionpublic static String decodeString(DataInputStream in) throws IOException
IOExceptionpublic static com.google.common.collect.ImmutableSet<String> decodeStringSet(DataInputStream in) throws IOException
IOExceptionpublic static List<MetadataEntry> decodeMetadataEntries(DataInputStream in) throws IOException
IOExceptionpublic static Iterable<Property> decodeProperties(AccumuloGraph graph, DataInputStream in, List<MetadataEntry> metadataEntries, FetchHints fetchHints) throws IOException
IOExceptionpublic static Edges decodeEdges(DataInputStream in, NameSubstitutionStrategy nameSubstitutionStrategy) throws IOException
IOExceptionpublic static void decodeHeader(DataInputStream in, byte expectedTypeId) throws IOException
IOExceptionCopyright © 2014–2018. All rights reserved.