vnhive commented on a change in pull request #1664:
URL: https://github.com/apache/hive/pull/1664#discussion_r522414350
##########
File path:
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
##########
@@ -4664,6 +4664,58 @@ public void dropStoredProcedure(StoredProcedureRequest
request) throws MetaExcep
return client.get_all_stored_procedures(request);
}
+ /**
+ * Builder for the GetProjectionsSpec. This is a projection specification
for partitions returned from the HMS.
+ */
+ public static class GetPartitionProjectionsSpecBuilder {
+
+ java.util.List<java.lang.String> partitionList = null;
+ java.lang.String includePartitionPattern = null;
+ java.lang.String excludePartitionPattern = null;
+
+ public void setPartitionList(List<String> partitionList) {
+ this.partitionList = partitionList;
+ }
+
+ public void setIncludePartitionPattern(String includePartitionPattern) {
+ this.includePartitionPattern = includePartitionPattern;
+ }
+
+ public void setExcludePartitionPattern(String excludePartitionPattern) {
+ this.excludePartitionPattern = excludePartitionPattern;
+ }
+
+ public GetProjectionsSpec build() {
+ return new GetProjectionsSpec(partitionList, includePartitionPattern,
excludePartitionPattern);
+ }
+ }
+
+ /**
+ * Builder for the GetProjectionsSpec. This is a projection specification
for tables returned from the HMS.
+ */
+ public static class GetTableProjectionsSpecBuilder {
+
+ java.util.List<java.lang.String> columnList = null;
Review comment:
will do. Thank you for pointing these out.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]