@@ -188,7 +188,7 @@ public Type getSpannerType() {
188188 }
189189
190190 @ Override
191- public Set <String > getAliases () {
191+ public Set <String > getPostgreSQLAliases () {
192192 return aliases ;
193193 }
194194 },
@@ -256,7 +256,7 @@ public Type getSpannerType() {
256256 }
257257
258258 @ Override
259- public Set <String > getAliases () {
259+ public Set <String > getPostgreSQLAliases () {
260260 return aliases ;
261261 }
262262 },
@@ -315,7 +315,7 @@ public Type getSpannerType() {
315315 }
316316
317317 @ Override
318- public Set <String > getAliases () {
318+ public Set <String > getPostgreSQLAliases () {
319319 return aliases ;
320320 }
321321 },
@@ -520,7 +520,7 @@ public Type getSpannerType() {
520520
521521 public abstract Type getSpannerType ();
522522
523- public Set <String > getAliases () {
523+ public Set <String > getPostgreSQLAliases () {
524524 return Collections .emptySet ();
525525 }
526526
@@ -529,9 +529,9 @@ public Set<String> getAliases() {
529529 * @return true if type name matches current type name or matches with one of postgres aliases
530530 * or if it matches equivalent postgres type.
531531 */
532- public boolean matches (String typeName ) {
532+ boolean matches (String typeName ) {
533533 return getTypeName ().equalsIgnoreCase (typeName )
534- || getAliases ().contains (typeName .toLowerCase ())
534+ || getPostgreSQLAliases ().contains (typeName .toLowerCase ())
535535 || getSpannerType ().getSpannerTypeName (Dialect .POSTGRESQL ).equalsIgnoreCase (typeName );
536536 }
537537
0 commit comments