@@ -88,22 +88,6 @@ public static SecurableObject ofTable(
88
88
return of (MetadataObject .Type .TABLE , names , privileges );
89
89
}
90
90
91
- /**
92
- * Create the column {@link SecurableObject} with the given securable schema object, column name
93
- * and privileges.
94
- *
95
- * @param table The table securable object
96
- * @param column The column name
97
- * @param privileges The privileges of the column
98
- * @return The created column {@link SecurableObject}
99
- */
100
- public static SecurableObject ofColumn (
101
- SecurableObject table , String column , List <Privilege > privileges ) {
102
- List <String > names = Lists .newArrayList (DOT_SPLITTER .splitToList (table .fullName ()));
103
- names .add (column );
104
- return of (MetadataObject .Type .TABLE , names , privileges );
105
- }
106
-
107
91
/**
108
92
* Create the topic {@link SecurableObject} with the given securable schema object ,topic name and
109
93
* privileges.
@@ -136,22 +120,6 @@ public static SecurableObject ofFileset(
136
120
return of (MetadataObject .Type .FILESET , names , privileges );
137
121
}
138
122
139
- /**
140
- * Create the table {@link SecurableObject} with the given securable schema object, fileset name
141
- * and privileges.
142
- *
143
- * @param schema The schema securable object
144
- * @param model The model name
145
- * @param privileges The privileges of the model
146
- * @return The created model {@link SecurableObject}
147
- */
148
- public static SecurableObject ofModel (
149
- SecurableObject schema , String model , List <Privilege > privileges ) {
150
- List <String > names = Lists .newArrayList (DOT_SPLITTER .splitToList (schema .fullName ()));
151
- names .add (model );
152
- return of (MetadataObject .Type .MODEL , names , privileges );
153
- }
154
-
155
123
private static class SecurableObjectImpl extends MetadataObjectImpl implements SecurableObject {
156
124
157
125
private List <Privilege > privileges ;
0 commit comments