private static Pair<String, String> splitKey(String key) {
        String dimension = null;
        String info = null;

        if (!key.contains(".")) {
            dimension = key;
        } else {
            dimension = key.substring(0, key.indexOf('.'));
            info = key.substring(key.indexOf('.') + 1, key.length());
        }
        return Pair.of(dimension, info);
    }
private static Pair<String, String> splitKey(String key) {
        String dimension = null;
        String info = null;

        if (!key.contains(".")) {
            dimension = key;
        } else {
            dimension = key.substring(0, key.indexOf('.'));
            info = key.substring(key.indexOf('.') + 1, key.length());
        }
        return Pair.of(dimension, info);
    }
private static Pair < String , String > splitKey ( String key ) { String dimension = null ; String info = null ; if ( ! key . contains ( "." ) ) { dimension = key ; } else { dimension = key . substring ( 0 , key . indexOf ( ' ' ) ) ; info = key . substring ( key . indexOf ( ' ' ) + 1 , key . length ( ) ) ; } return Pair . of ( dimension , info ) ; }
<p>
Creates a {@link Pair} composed of Dimension and Information, required by
the {@link GenericSchemaService}.
</p>

@param key
@return
<p > Creates a { @link Pair } composed of Dimension and Information required by the { @link GenericSchemaService } . < / p >