The getSpaceDef Method

You can get the space definition for a space that has been previously defined in the metaspace by using the Metaspace object’s getSpaceDef method, which takes a space name as a parameters and returns either a copy of that space’s SpaceDef object or throws an exception if no space of that name is currently defined in the metaspace.

Related reference