public static boolean isTableSegment ( String qualifiedName ) { Preconditions . checkNotNull ( qualifiedName ) ; String [ ] tokens = qualifiedName . split ( "[/]" ) ; Preconditions . checkArgument ( tokens . length > 2 ) ; return tokens [ 1 ] . equals ( TABLES ) ; }
Method to check if given segment name is a table name generated using getQualifiedTableName .