forked from delta-io/delta-sharing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
020c9bb
commit aeeacf3
Showing
26 changed files
with
754 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
server/src/main/java/io/whitefox/core/InternalTableName.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package io.whitefox.core; | ||
|
||
import io.whitefox.annotations.SkipCoverageGenerated; | ||
import java.util.Objects; | ||
|
||
public class InternalTableName { | ||
private final String name; | ||
|
||
public InternalTableName(String name) { | ||
this.name = name; | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
InternalTableName that = (InternalTableName) o; | ||
return Objects.equals(name, that.name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public int hashCode() { | ||
return Objects.hash(name); | ||
} | ||
|
||
public String name() { | ||
return name; | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public String toString() { | ||
return name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package io.whitefox.core; | ||
|
||
import io.whitefox.annotations.SkipCoverageGenerated; | ||
import java.util.Objects; | ||
|
||
public class ProviderName { | ||
private final String name; | ||
|
||
public ProviderName(String share) { | ||
this.name = share; | ||
} | ||
|
||
public String name() { | ||
return name; | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
ProviderName that = (ProviderName) o; | ||
return Objects.equals(name, that.name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public int hashCode() { | ||
return Objects.hash(name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public String toString() { | ||
return name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package io.whitefox.core; | ||
|
||
import io.whitefox.annotations.SkipCoverageGenerated; | ||
import java.util.Objects; | ||
|
||
public class SchemaName { | ||
private final String name; | ||
|
||
public SchemaName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String name() { | ||
return name; | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
SchemaName that = (SchemaName) o; | ||
return Objects.equals(name, that.name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public int hashCode() { | ||
return Objects.hash(name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public String toString() { | ||
return name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package io.whitefox.core; | ||
|
||
import io.whitefox.annotations.SkipCoverageGenerated; | ||
import java.util.Objects; | ||
|
||
public final class ShareName { | ||
|
||
private final String name; | ||
|
||
public ShareName(String share) { | ||
this.name = share; | ||
} | ||
|
||
public String name() { | ||
return name; | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
ShareName shareName = (ShareName) o; | ||
return Objects.equals(name, shareName.name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public int hashCode() { | ||
return Objects.hash(name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public String toString() { | ||
return name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
server/src/main/java/io/whitefox/core/SharedTableName.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package io.whitefox.core; | ||
|
||
import io.whitefox.annotations.SkipCoverageGenerated; | ||
import java.util.Objects; | ||
|
||
public class SharedTableName { | ||
private final String name; | ||
|
||
public SharedTableName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String name() { | ||
return name; | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
SharedTableName that = (SharedTableName) o; | ||
return Objects.equals(name, that.name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public int hashCode() { | ||
return Objects.hash(name); | ||
} | ||
|
||
@Override | ||
@SkipCoverageGenerated | ||
public String toString() { | ||
return name; | ||
} | ||
} |
Oops, something went wrong.