@@ -41,63 +41,18 @@ public SnapshotDescription(String name) {
41
41
this (name , (TableName )null );
42
42
}
43
43
44
- /**
45
- * @deprecated since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
46
- * instance instead.
47
- * @see #SnapshotDescription(String, TableName)
48
- * @see <a href="https://issues.apache.org/jira/browse/HBASE-16892">HBASE-16892</a>
49
- */
50
- @ Deprecated
51
- public SnapshotDescription (String name , String table ) {
52
- this (name , TableName .valueOf (table ));
53
- }
54
-
55
44
public SnapshotDescription (String name , TableName table ) {
56
45
this (name , table , SnapshotType .DISABLED , null , -1 , -1 , null );
57
46
}
58
47
59
- /**
60
- * @deprecated since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
61
- * instance instead.
62
- * @see #SnapshotDescription(String, TableName, SnapshotType)
63
- * @see <a href="https://issues.apache.org/jira/browse/HBASE-16892">HBASE-16892</a>
64
- */
65
- @ Deprecated
66
- public SnapshotDescription (String name , String table , SnapshotType type ) {
67
- this (name , TableName .valueOf (table ), type );
68
- }
69
-
70
48
public SnapshotDescription (String name , TableName table , SnapshotType type ) {
71
49
this (name , table , type , null , -1 , -1 , null );
72
50
}
73
51
74
- /**
75
- * @see #SnapshotDescription(String, TableName, SnapshotType, String)
76
- * @see <a href="https://issues.apache.org/jira/browse/HBASE-16892">HBASE-16892</a>
77
- * @deprecated since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
78
- * instance instead.
79
- */
80
- @ Deprecated
81
- public SnapshotDescription (String name , String table , SnapshotType type , String owner ) {
82
- this (name , TableName .valueOf (table ), type , owner );
83
- }
84
-
85
52
public SnapshotDescription (String name , TableName table , SnapshotType type , String owner ) {
86
53
this (name , table , type , owner , -1 , -1 , null );
87
54
}
88
55
89
- /**
90
- * @see #SnapshotDescription(String, TableName, SnapshotType, String, long, int, Map)
91
- * @see <a href="https://issues.apache.org/jira/browse/HBASE-16892">HBASE-16892</a>
92
- * @deprecated since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
93
- * instance instead.
94
- */
95
- @ Deprecated
96
- public SnapshotDescription (String name , String table , SnapshotType type , String owner ,
97
- long creationTime , int version ) {
98
- this (name , TableName .valueOf (table ), type , owner , creationTime , version , null );
99
- }
100
-
101
56
/**
102
57
* SnapshotDescription Parameterized Constructor
103
58
*
@@ -141,18 +96,6 @@ public String getName() {
141
96
return this .name ;
142
97
}
143
98
144
- /**
145
- * @deprecated since 2.0.0 and will be removed in 3.0.0. Use {@link #getTableName()} or
146
- * {@link #getTableNameAsString()} instead.
147
- * @see #getTableName()
148
- * @see #getTableNameAsString()
149
- * @see <a href="https://issues.apache.org/jira/browse/HBASE-16892">HBASE-16892</a>
150
- */
151
- @ Deprecated
152
- public String getTable () {
153
- return getTableNameAsString ();
154
- }
155
-
156
99
public String getTableNameAsString () {
157
100
return this .table .getNameAsString ();
158
101
}
0 commit comments