public class TypeParser
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static TypeParser | EMPTY_PARSER | 
| Constructor and Description | 
|---|
| TypeParser(java.lang.String str) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Map<java.lang.Byte,AbstractType<?>> | getAliasParameters() | 
| java.util.Map<java.nio.ByteBuffer,CollectionType> | getCollectionsParameters() | 
| java.util.Map<java.lang.String,java.lang.String> | getKeyValueParameters() | 
| java.util.List<AbstractType<?>> | getTypeParameters() | 
| Pair<Pair<java.lang.String,java.nio.ByteBuffer>,java.util.List<Pair<java.nio.ByteBuffer,AbstractType>>> | getUserTypeParameters() | 
| AbstractType<?> | parse()Parse an AbstractType from current position of this parser. | 
| static AbstractType<?> | parse(java.lang.CharSequence compareWith) | 
| static AbstractType<?> | parse(java.lang.String str)Parse a string containing an type definition. | 
| java.lang.String | readNextIdentifier() | 
| static java.lang.String | stringifyAliasesParameters(java.util.Map<java.lang.Byte,AbstractType<?>> aliases)Helper function to ease the writing of AbstractType.toString() methods. | 
| static java.lang.String | stringifyCollectionsParameters(java.util.Map<java.nio.ByteBuffer,? extends CollectionType> collections) | 
| static java.lang.String | stringifyTypeParameters(java.util.List<AbstractType<?>> types)Helper function to ease the writing of AbstractType.toString() methods. | 
| static java.lang.String | stringifyTypeParameters(java.util.List<AbstractType<?>> types,
                       boolean ignoreFreezing)Helper function to ease the writing of AbstractType.toString() methods. | 
| static java.lang.String | stringifyUserTypeParameters(java.lang.String keysace,
                           java.nio.ByteBuffer typeName,
                           java.util.List<FieldIdentifier> fields,
                           java.util.List<AbstractType<?>> columnTypes,
                           boolean ignoreFreezing) | 
public static final TypeParser EMPTY_PARSER
public static AbstractType<?> parse(java.lang.String str) throws SyntaxException, ConfigurationException
public static AbstractType<?> parse(java.lang.CharSequence compareWith) throws SyntaxException, ConfigurationException
public AbstractType<?> parse() throws SyntaxException, ConfigurationException
public java.util.Map<java.lang.String,java.lang.String> getKeyValueParameters()
                                                                       throws SyntaxException
SyntaxExceptionpublic java.util.List<AbstractType<?>> getTypeParameters() throws SyntaxException, ConfigurationException
public java.util.Map<java.lang.Byte,AbstractType<?>> getAliasParameters() throws SyntaxException, ConfigurationException
public java.util.Map<java.nio.ByteBuffer,CollectionType> getCollectionsParameters() throws SyntaxException, ConfigurationException
public Pair<Pair<java.lang.String,java.nio.ByteBuffer>,java.util.List<Pair<java.nio.ByteBuffer,AbstractType>>> getUserTypeParameters() throws SyntaxException, ConfigurationException
public java.lang.String readNextIdentifier()
public static java.lang.String stringifyAliasesParameters(java.util.Map<java.lang.Byte,AbstractType<?>> aliases)
public static java.lang.String stringifyTypeParameters(java.util.List<AbstractType<?>> types)
public static java.lang.String stringifyTypeParameters(java.util.List<AbstractType<?>> types, boolean ignoreFreezing)
public static java.lang.String stringifyCollectionsParameters(java.util.Map<java.nio.ByteBuffer,? extends CollectionType> collections)
public static java.lang.String stringifyUserTypeParameters(java.lang.String keysace,
                                                           java.nio.ByteBuffer typeName,
                                                           java.util.List<FieldIdentifier> fields,
                                                           java.util.List<AbstractType<?>> columnTypes,
                                                           boolean ignoreFreezing)
Copyright © 2018 The Apache Software Foundation