def getBucketIndices(self, inputData):
retVals = []<EOL>if self.encoders is not None:<EOL><INDENT>for (name, encoder, offset) in self.encoders:<EOL><INDENT>values = encoder.getBucketIndices(self._getInputValue(inputData, name))<EOL>retVals.extend(values)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>assert False, "<STR_LIT>""<STR_LIT>"<EOL><DEDENT>return retVals<EOL>
Returns an array containing the sub-field bucket indices for each sub-field
of the inputData. To get the associated field names for each of the buckets,
call :meth:`.getScalarNames`.

:param inputData: The data from the source. This is typically an object with
             members.
:return: array of bucket indices