12345678910111213141516171819202122232425262728293031323334 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Api\Search;
- /**
- * Faceted data
- */
- interface AggregationInterface
- {
- /**
- * Get Document field
- *
- * @param string $bucketName
- * @return \Magento\Framework\Api\Search\BucketInterface
- */
- public function getBucket($bucketName);
- /**
- * Get all Document fields
- *
- * @return \Magento\Framework\Api\Search\BucketInterface[]
- */
- public function getBuckets();
- /**
- * Get Document field names
- *
- * @return string[]
- */
- public function getBucketNames();
- }
|